Skip to content

Commit a4457ac

Browse files
nvlsianpurlubos
authored andcommitted
[nrf noup] boot/zephyr/Kconfig: conditionally disable BOOT_MAX_IMG_SECTORS_AUTO
Automatic calculation are based on DTS data which are no the right source on partition layout in case Partition manager does the partitioning. Signed-off-by: Andrzej Puzdrowski <[email protected]> Signed-off-by: Dominik Ermel <[email protected]> (cherry picked from commit 19ac794)
1 parent 835b63f commit a4457ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/zephyr/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ config BOOT_ENCRYPTION_KEY_FILE
709709

710710
config BOOT_MAX_IMG_SECTORS_AUTO
711711
bool "Calculate maximum sectors automatically"
712-
default y
712+
default y if !PARTITION_MANAGER_ENABLED
713713
help
714714
If this option is enabled then the maximum number of supported sectors per image will
715715
be calculated automatically from the flash erase sizes and size of each partition for

0 commit comments

Comments
 (0)