mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-18 06:35:35 +03:00
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:
@@ -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.*) \
|
||||
|
||||
@@ -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.*) \
|
||||
|
||||
@@ -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.*) \
|
||||
|
||||
Reference in New Issue
Block a user