Skip to content

Commit 55336ab

Browse files
committed
[nrf noup] zephyr/Kconfig: no LOAD_ADDRESS check with QSPI_XIP
MCUBOOT_CHECK_HEADER_LOAD_ADDRESS shouldn't be use with a qspi-xip image as its partiton addresses could be miss-recognized as a SoC flash partition addresses. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
1 parent 8414450 commit 55336ab

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

boot/zephyr/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1505,7 +1505,8 @@ config MCUBOOT_CHECK_HEADER_LOAD_ADDRESS
15051505
bool "Use load address to verify application is in proper slot"
15061506
depends on !PARTITION_MANAGER_ENABLED
15071507
default y if !MCUBOOT_UUID_CID && !NRF53_MULTI_IMAGE_UPDATE && \
1508-
(UPDATEABLE_IMAGE_NUMBER > 1 || MCUBOOT_NETWORK_CORE_IMAGE_NUMBER > 0)
1508+
(UPDATEABLE_IMAGE_NUMBER > 1 || MCUBOOT_NETWORK_CORE_IMAGE_NUMBER > 0) && \
1509+
(MCUBOOT_QSPI_XIP_IMAGE_NUMBER < 0)
15091510
help
15101511
The bootloader will use the load address, from the image header,
15111512
to verify that binary is in slot designated for its execution.

0 commit comments

Comments
 (0)