diff --git a/soc/nordic/nrf54l/CMakeLists.txt b/soc/nordic/nrf54l/CMakeLists.txt index c8badc8d61d..d986fe9c20d 100644 --- a/soc/nordic/nrf54l/CMakeLists.txt +++ b/soc/nordic/nrf54l/CMakeLists.txt @@ -10,7 +10,7 @@ zephyr_include_directories(.) # We need a buffer in memory in a static location which can be used by # the KMU peripheral. The KMU has a static destination address, we chose # this address to be 0x20000000, which is the first address in the SRAM. -if(NOT CONFIG_BUILD_WITH_TFM AND CONFIG_PSA_NEED_CRACEN_KMU_DRIVER) +if(NOT CONFIG_BUILD_WITH_TFM AND CONFIG_PSA_NEED_CRACEN_KMU_DRIVER AND CONFIG_XIP) # Exclamation mark is printable character with the lowest number in ASCII table. # We are sure that this file will be included first. zephyr_linker_sources(RAM_SECTIONS SORT_KEY ! kmu_push_area_section.ld)