Skip to content

Commit d09c5a0

Browse files
nvlsianpujukkar
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 12e9928) (cherry picked from commit a023c2e) (cherry picked from commit 7432f4a)
1 parent 1a2f5f6 commit d09c5a0

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
@@ -563,7 +563,7 @@ config BOOT_ENCRYPTION_KEY_FILE
563563

564564
config BOOT_MAX_IMG_SECTORS_AUTO
565565
bool "Calculate maximum sectors automatically"
566-
default y
566+
default y if !PARTITION_MANAGER_ENABLED
567567
help
568568
If this option is enabled then the maximum number of supported sectors per image will
569569
be calculated automatically from the flash erase sizes and size of each partition for

0 commit comments

Comments
 (0)