mcuboot: Remove OVERWRITE_ONLY from DIRECT_XIP modes.

Fixes #71111

Signed-off-by: Abram Early <abram.early@gmail.com>
This commit is contained in:
Abram Early 2024-04-04 15:10:40 -06:00 committed by Alberto Escolar
commit 61bb304c69

View file

@ -199,7 +199,6 @@ config MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP
bool "MCUboot has been configured for DirectXIP operation" bool "MCUboot has been configured for DirectXIP operation"
select MCUBOOT_BOOTLOADER_MODE_HAS_NO_DOWNGRADE select MCUBOOT_BOOTLOADER_MODE_HAS_NO_DOWNGRADE
select MCUBOOT_BOOTLOADER_NO_DOWNGRADE select MCUBOOT_BOOTLOADER_NO_DOWNGRADE
select MCUBOOT_IMGTOOL_OVERWRITE_ONLY
help help
MCUboot expects slot0_partition and slot1_partition to exist in DT. MCUboot expects slot0_partition and slot1_partition to exist in DT.
In this mode MCUboot can boot from either partition and will In this mode MCUboot can boot from either partition and will
@ -215,7 +214,6 @@ config MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP_WITH_REVERT
select MCUBOOT_BOOTUTIL_LIB_FOR_DIRECT_XIP select MCUBOOT_BOOTUTIL_LIB_FOR_DIRECT_XIP
select MCUBOOT_BOOTLOADER_MODE_HAS_NO_DOWNGRADE select MCUBOOT_BOOTLOADER_MODE_HAS_NO_DOWNGRADE
select MCUBOOT_BOOTLOADER_NO_DOWNGRADE select MCUBOOT_BOOTLOADER_NO_DOWNGRADE
select MCUBOOT_IMGTOOL_OVERWRITE_ONLY
help help
MCUboot expects slot0_partition and slot1_partition to exist in DT. MCUboot expects slot0_partition and slot1_partition to exist in DT.
In this mode MCUboot will boot the application with the higher version In this mode MCUboot will boot the application with the higher version