Skip to content

Commit a023c2e

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]> (cherry picked from commit 12e9928)
1 parent 81988f9 commit a023c2e

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
@@ -557,7 +557,7 @@ config BOOT_ENCRYPTION_KEY_FILE
557557

558558
config BOOT_MAX_IMG_SECTORS_AUTO
559559
bool "Calculate maximum sectors automatically"
560-
default y
560+
default y if !PARTITION_MANAGER_ENABLED
561561
help
562562
If this option is enabled then the maximum number of supported sectors per image will
563563
be calculated automatically from the flash erase sizes and size of each partition for

0 commit comments

Comments
 (0)