Skip to content

Commit 30449ac

Browse files
committed
modules: mcuboot: boot: zephyr: kconfig: Fix MCUboot partition sizes
Fixes partition sizes for MCUboot when secure boot on the application core is enabled. Without this, the partition start address is invalid because it did not take into account the MCUboot header for the updateable MCUboot partition Signed-off-by: Jamie McCrae <[email protected]>
1 parent 0800cb2 commit 30449ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/mcuboot/boot/zephyr/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ config PM_PARTITION_SIZE_MCUBOOT
3737

3838
config PM_PARTITION_SIZE_MCUBOOT
3939
hex "Flash space allocated for the MCUboot partition" if !BOOT_USE_MIN_PARTITION_SIZE
40+
default 0xb800 if MCUBOOT_MCUBOOT_IMAGE_NUMBER != -1 && SOC_SERIES_NRF54LX
41+
default 0xbe00 if MCUBOOT_MCUBOOT_IMAGE_NUMBER != -1 && !SOC_SERIES_NRF54LX
4042
default 0xc000
4143
help
4244
Flash space set aside for the MCUboot partition.

0 commit comments

Comments
 (0)