From 4fc9fd4891a223122314e508b54c7b9d9962fc37 Mon Sep 17 00:00:00 2001 From: "harshal.patil" Date: Sat, 19 Jul 2025 13:09:44 +0530 Subject: [PATCH] fix(esp_system): Remove redundant crypto clock source selection --- components/esp_system/port/soc/esp32c5/clk.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/esp_system/port/soc/esp32c5/clk.c b/components/esp_system/port/soc/esp32c5/clk.c index 32176e77f9..47a740751e 100644 --- a/components/esp_system/port/soc/esp32c5/clk.c +++ b/components/esp_system/port/soc/esp32c5/clk.c @@ -155,9 +155,6 @@ __attribute__((weak)) void esp_clk_init(void) // Re calculate the ccount to make time calculation correct. esp_cpu_set_cycle_count((uint64_t)esp_cpu_get_cycle_count() * new_freq_mhz / old_freq_mhz); - - // Set crypto clock (`clk_sec`) to use 480M SPLL clock - REG_SET_FIELD(PCR_SEC_CONF_REG, PCR_SEC_CLK_SEL, 0x2); } static void select_rtc_slow_clk(soc_rtc_slow_clk_src_t rtc_slow_clk_src)