Skip to content

Commit b182c9d

Browse files
committed
[nrf noup] zephyr: Get RWX skip size from ROM offset
Use CONFIG_ROM_START_OFFSET to set CONFIG_NCS_MCUBOOT_DISABLE_SELF_RWX_SKIP_SIZE, instead of hardcoding it for nRF54L. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
1 parent 16a29c2 commit b182c9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

boot/zephyr/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ config NCS_MCUBOOT_DISABLE_SELF_RWX_SKIP_SIZE
557557
hex
558558
depends on NCS_MCUBOOT_DISABLE_SELF_RWX
559559
depends on !PARTITION_MANAGER_ENABLED
560-
default 0x800 if SOC_SERIES_NRF54L
560+
default ROM_START_OFFSET if SOC_SERIES_NRF54L
561561
help
562562
Size of region, at the beginning of the partition, that does not require
563563
protections. This is used, for example, when MCUboot type image is protected

0 commit comments

Comments
 (0)