aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorSherry Zhang <sherry.zhang2@arm.com>2021-05-31 15:22:05 +0800
committerDavid Hu <david.hu@arm.com>2021-06-04 08:31:01 +0200
commitc4d8e2c5ab26706b510f35dac65354281bce7bb7 (patch)
tree4b8e0b13fb01427f0e5b8a4ea9e508d38ddc52b7 /config
parentae25f05966effa9f706a9b330fc4ebaaad9895ad (diff)
downloadtrusted-firmware-m-c4d8e2c5ab26706b510f35dac65354281bce7bb7.tar.gz
Boot & FWU: Add support of reverting mechanism in DIRECT_XIP mode
After updating the version of MCUBoot, revert mechanism in DIRECT_XIP mode is supported in MCUBoot. This commit adds the support of it in build system and updates the mcuboot based FWU shim layer implementation accordingly. Change-Id: I017d02e4161daee56f54ed3ed09f98ebb9a776e0 Signed-off-by: Sherry Zhang <sherry.zhang2@arm.com>
Diffstat (limited to 'config')
-rw-r--r--config/config_default.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/config_default.cmake b/config/config_default.cmake
index bbe695436d..dc92fa0edc 100644
--- a/config/config_default.cmake
+++ b/config/config_default.cmake
@@ -50,6 +50,7 @@ set(MCUBOOT_EXECUTION_SLOT 1 CACHE STRING "Slot from w
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")
+set(MCUBOOT_DIRECT_XIP_REVERT ON CACHE BOOL "Enable the revert mechanism in direct-xip mode")
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")