mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
Merge branch 'fix/update_trng_workflow_for_esp32s31' into 'master'
fix(rng): update TRNG bringup for esp32s31 runtime use See merge request espressif/esp-idf!48579
This commit is contained in:
@@ -77,8 +77,8 @@ static inline void rng_ll_enable_noise_crc(bool enable)
|
|||||||
static inline void rng_ll_enable(void)
|
static inline void rng_ll_enable(void)
|
||||||
{
|
{
|
||||||
rng_ll_enable_bus_clock(true);
|
rng_ll_enable_bus_clock(true);
|
||||||
rng_ll_reset();
|
|
||||||
rng_ll_enable_clock(true);
|
rng_ll_enable_clock(true);
|
||||||
|
rng_ll_reset();
|
||||||
rng_ll_enable_sample(true);
|
rng_ll_enable_sample(true);
|
||||||
rng_ll_enable_noise_crc(true);
|
rng_ll_enable_noise_crc(true);
|
||||||
}
|
}
|
||||||
@@ -90,8 +90,8 @@ static inline void rng_ll_enable(void)
|
|||||||
*/
|
*/
|
||||||
static inline void rng_ll_disable(void)
|
static inline void rng_ll_disable(void)
|
||||||
{
|
{
|
||||||
rng_ll_enable_sample(false);
|
|
||||||
rng_ll_enable_noise_crc(false);
|
rng_ll_enable_noise_crc(false);
|
||||||
|
rng_ll_enable_sample(false);
|
||||||
rng_ll_enable_clock(false);
|
rng_ll_enable_clock(false);
|
||||||
rng_ll_enable_bus_clock(false);
|
rng_ll_enable_bus_clock(false);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1367,6 +1367,10 @@ config SOC_MODEM_CLOCK_WIFI_BB_80X1_AS_APB
|
|||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config SOC_RNG_CLOCK_IS_INDEPENDENT
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
|
||||||
config SOC_CLK_RC_FAST_SUPPORT_CALIBRATION
|
config SOC_CLK_RC_FAST_SUPPORT_CALIBRATION
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|||||||
@@ -510,6 +510,7 @@
|
|||||||
#define SOC_MODEM_APB_CLOCK_IS_INDEPENDENT (1)
|
#define SOC_MODEM_APB_CLOCK_IS_INDEPENDENT (1)
|
||||||
#define SOC_MODEM_CLOCK_SOC_PLL_SOURCE_CG_SUPPORTED (1)
|
#define SOC_MODEM_CLOCK_SOC_PLL_SOURCE_CG_SUPPORTED (1)
|
||||||
#define SOC_MODEM_CLOCK_WIFI_BB_80X1_AS_APB (1)
|
#define SOC_MODEM_CLOCK_WIFI_BB_80X1_AS_APB (1)
|
||||||
|
#define SOC_RNG_CLOCK_IS_INDEPENDENT (1)
|
||||||
|
|
||||||
#define SOC_CLK_RC_FAST_SUPPORT_CALIBRATION (1)
|
#define SOC_CLK_RC_FAST_SUPPORT_CALIBRATION (1)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user