Skip to content

Commit 937dd53

Browse files
committed
modules/mcuboot: Disable PM partition size configuration
Disable PM partition size configuration items when Partition Manager is disabled. These configuration options had no effect without Partition Manager; nevertheless they were lingering in .config for no reason. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
1 parent f9383ae commit 937dd53

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

modules/mcuboot/boot/zephyr/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ source "$(ZEPHYR_NRF_MODULE_DIR)/subsys/partition_manager/Kconfig.template.parti
2828

2929
endif
3030

31+
if PARTITION_MANAGER_ENABLED
32+
3133
config PM_PARTITION_SIZE_MCUBOOT
3234
hex "Flash space allocated for the MCUboot partition"
3335
default 0x3e00 if (BOOT_USE_MIN_PARTITION_SIZE && BOOT_NRF_EXTERNAL_CRYPTO)
@@ -41,6 +43,8 @@ config PM_PARTITION_SIZE_MCUBOOT
4143
help
4244
Flash space set aside for the MCUboot partition.
4345

46+
endif
47+
4448
config BOOT_USE_NRF_CC310_BL
4549
bool
4650
select NRF_CC310_BL

0 commit comments

Comments
 (0)