Boot: Rename NO_SWAP upgrade strategy to DIRECT_XIP
The NO_SWAP upgrade strategy was upstreamed to the mainline
MCUboot repo, but the feature was renamed to DIRECT_XIP.
This change do the same renaming in TF-M to be aligned with
the mainline repo, because the MCUboot fork is going to be
removed from the TF-M repository.
Change-Id: I63201a5319a68394d45d753a700444cdc848b5dc
Signed-off-by: Tamas Ban <tamas.ban@arm.com>
diff --git a/config/config_default.cmake b/config/config_default.cmake
index f25d35c..f6fa2cc 100644
--- a/config/config_default.cmake
+++ b/config/config_default.cmake
@@ -28,7 +28,7 @@
set(MCUBOOT_EXECUTION_SLOT 1 CACHE STRING "Slot from which to execute the image, used for XIP mode")
set(MCUBOOT_LOG_LEVEL "INFO" CACHE STRING "Level of logging to use for MCUboot [OFF, ERROR, WARNING, INFO, DEBUG]")
set(MCUBOOT_HW_KEY ON CACHE BOOL "Whether to embed the entire public key in the image metadata instead of the hash only")
-set(MCUBOOT_UPGRADE_STRATEGY "OVERWRITE_ONLY" CACHE STRING "Upgrade strategy for images [OVERWRITE_ONLY, SWAP, NO_SWAP, RAM_LOADING]")
+set(MCUBOOT_UPGRADE_STRATEGY "OVERWRITE_ONLY" CACHE STRING "Upgrade strategy for images [OVERWRITE_ONLY, SWAP, DIRECT_XIP, RAM_LOADING]")
set(MCUBOOT_MEASURED_BOOT ON CACHE BOOL "Add boot measurement values to boot status. Used for initial attestation token")
set(MCUBOOT_HW_ROLLBACK_PROT ON CACHE BOOL "Enable security counter validation against non-volatile HW counters")
set(MCUBOOT_ENC_IMAGES OFF CACHE BOOL "Enable encrypted image upgrade support")