fix(bootloader): place esp_crypto_clk in loader IRAM section

Commit 69d548c8 ("feat(esp_security): suppoer s31 security clock
management") introduced a new esp_crypto_clk source file in esp_security
but did not add it to the bootloader loader IRAM input sections. As a
result the crypto clock code was not placed in the loader IRAM region,
causing a regression on targets that use it during bootloader load.

Add *libesp_security.a:esp_crypto_clk.* to the bootloader sections
linker fragments for all targets that carry the esp_security.a
dependency (esp32c5, esp32p4, esp32s31), placed alongside
esp_crypto_periph_clk.
This commit is contained in:
Mahavir Jain
2026-06-15 11:36:30 +05:30
parent 8f00dfc74b
commit efb28b55ca
3 changed files with 4 additions and 0 deletions

View File

@@ -37,6 +37,7 @@
*libesp_hal_security.a:huk_hal.*(.literal .text .literal.* .text.*) \
*libesp_hal_security.a:key_mgr_hal.*(.literal .text .literal.* .text.*) \
*libesp_security.a:esp_key_mgr.*(.literal .text .literal.* .text.*) \
*libesp_security.a:esp_crypto_clk.*(.literal .text .literal.* .text.*) \
*libesp_security.a:esp_crypto_periph_clk.*(.literal .text .literal.* .text.*) \
*libesp_security.a:esp_crypto_lock.*(.literal .text .literal.* .text.*) \
*libesp_hw_support.a:rtc_clk.*(.literal .text .literal.* .text.*) \

View File

@@ -36,6 +36,7 @@
*libesp_hal_security.a:huk_hal.*(.literal .text .literal.* .text.*) \
*libesp_hal_security.a:key_mgr_hal.*(.literal .text .literal.* .text.*) \
*libesp_security.a:esp_key_mgr.*(.literal .text .literal.* .text.*) \
*libesp_security.a:esp_crypto_clk.*(.literal .text .literal.* .text.*) \
*libesp_security.a:esp_crypto_periph_clk.*(.literal .text .literal.* .text.*) \
*libesp_security.a:esp_crypto_lock.*(.literal .text .literal.* .text.*) \
*libesp_hw_support.a:rtc_clk.*(.literal .text .literal.* .text.*) \
@@ -74,6 +75,7 @@
*libhal.a:efuse_hal.*(.literal .text .literal.* .text.*) \
*libesp_hal_security.a:huk_hal.*(.literal .text .literal.* .text.*) \
*libesp_hal_security.a:key_mgr_hal.*(.literal .text .literal.* .text.*) \
*libesp_security.a:esp_crypto_clk.*(.literal .text .literal.* .text.*) \
*libesp_security.a:esp_crypto_periph_clk.*(.literal .text .literal.* .text.*) \
*libesp_hal_wdt.a:wdt_hal_iram.*(.literal .text .literal.* .text.*) \
*libesp_hw_support.a:rtc_clk.*(.literal .text .literal.* .text.*) \

View File

@@ -37,6 +37,7 @@
*libesp_hal_security.a:huk_hal.*(.literal .text .literal.* .text.*) \
*libesp_hal_security.a:key_mgr_hal.*(.literal .text .literal.* .text.*) \
*libesp_security.a:esp_key_mgr.*(.literal .text .literal.* .text.*) \
*libesp_security.a:esp_crypto_clk.*(.literal .text .literal.* .text.*) \
*libesp_security.a:esp_crypto_periph_clk.*(.literal .text .literal.* .text.*) \
*libesp_security.a:esp_crypto_lock.*(.literal .text .literal.* .text.*) \
*libesp_hw_support.a:rtc_clk.*(.literal .text .literal.* .text.*) \