Skip to content

Commit 5bddd5d

Browse files
committed
[nrf noup] soc: nrf54l: Change logic for KMU reserved area
nrf-squash! [nrf noup] soc: nrf54l: Add custom section for KMU Change how the KMU reserved area is included in the linker file. Now there is a separate Kconfig which shows it the there is a dts entry for the KMU reserved area. Signed-off-by: Georgios Vasilakis <[email protected]>
1 parent 2158e6b commit 5bddd5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

soc/nordic/nrf54l/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ zephyr_include_directories(.)
1010
# We need a buffer in memory in a static location which can be used by
1111
# the KMU peripheral. The KMU has a static destination address, we chose
1212
# this address to be 0x20000000, which is the first address in the SRAM.
13-
if(NOT CONFIG_BUILD_WITH_TFM AND CONFIG_PSA_NEED_CRACEN_KMU_DRIVER AND CONFIG_XIP)
13+
if(NOT CONFIG_BUILD_WITH_TFM AND CONFIG_PSA_NEED_CRACEN_KMU_DRIVER AND NOT CONFIG_CRACEN_KMU_RESERVED_MEMORY_IN_DTS)
1414
# Exclamation mark is printable character with the lowest number in ASCII table.
1515
# We are sure that this file will be included first.
1616
zephyr_linker_sources(RAM_SECTIONS SORT_KEY ! kmu_push_area_section.ld)

0 commit comments

Comments
 (0)