From 7d935c4a899bb6a4c82d93430d305bd984b4f4e5 Mon Sep 17 00:00:00 2001 From: Devaraj Ranganna Date: Tue, 22 Aug 2023 09:57:48 +0000 Subject: [PATCH] blinky: Remove TF-M update partition Since blinky example doesn't suppport firmware update, disable the firmware update partition and other relevant config options. Signed-off-by: Devaraj Ranganna --- Projects/blinky/CMakeLists.txt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Projects/blinky/CMakeLists.txt b/Projects/blinky/CMakeLists.txt index 0c66b9de..f02ac04f 100644 --- a/Projects/blinky/CMakeLists.txt +++ b/Projects/blinky/CMakeLists.txt @@ -13,14 +13,10 @@ set(ARM_CORSTONE_BSP_TARGET_PLATFORM "corstone300" CACHE STRING "Featured Refere # Configure target if (${ARM_CORSTONE_BSP_TARGET_PLATFORM} STREQUAL "corstone300") set(TFM_PLATFORM_LOCAL_PATH "arm/mps3/an552") - set(TFM_PLATFORM_UPGRADE_STRATEGY "SWAP_USING_SCRATCH") - set(TFM_PLATFORM_CONFIRM_IMAGE ON) else() message(FATAL_ERROR "Invalid ARM_CORSTONE_BSP_TARGET_PLATFORM (${ARM_CORSTONE_BSP_TARGET_PLATFORM}) set. It should be corstone300") endif() -set(MCUBOOT_IMAGE_VERSION_NS "0.0.0" ) - # Extra arguments for TF-M and ML set(TFM_CMAKE_ARGS -DPROJECT_CONFIG_HEADER_FILE=${PRJ_DIR}/Config/tfm-config/project_config.h @@ -32,17 +28,11 @@ set(TFM_CMAKE_ARGS -DMCUBOOT_LOG_LEVEL=INFO -DTFM_SPM_LOG_LEVEL=TFM_SPM_LOG_LEVEL_INFO -DTFM_PARTITION_CRYPTO=ON - -DTFM_PARTITION_FIRMWARE_UPDATE=ON -DTFM_PARTITION_INITIAL_ATTESTATION=ON -DTFM_PARTITION_INTERNAL_TRUSTED_STORAGE=ON -DTFM_PARTITION_PLATFORM=ON -DTFM_PARTITION_PROTECTED_STORAGE=ON -DTFM_PLATFORM=${TFM_PLATFORM_LOCAL_PATH} - -DPLATFORM_HAS_FIRMWARE_UPDATE_SUPPORT=ON - -DMCUBOOT_DATA_SHARING=ON - -DMCUBOOT_CONFIRM_IMAGE=${TFM_PLATFORM_CONFIRM_IMAGE} - -DMCUBOOT_UPGRADE_STRATEGY=${TFM_PLATFORM_UPGRADE_STRATEGY} - -DMCUBOOT_IMAGE_VERSION_NS=${MCUBOOT_IMAGE_VERSION_NS} ) # Configuration of executable