aboutsummaryrefslogtreecommitdiff
path: root/CommonConfig.cmake
diff options
context:
space:
mode:
authorDavid Vincze <david.vincze@arm.com>2020-02-19 09:42:07 +0100
committerDavid Vincze <david.vincze@linaro.org>2020-06-24 14:27:50 +0200
commit141f215f49aa6dc6264c64a30bbdfd28958f3305 (patch)
treed51e576ab184ae19efb66db13808c65bcfc0ec46 /CommonConfig.cmake
parent5399803fa6724959d0a6ae379540a03e19ff4bb6 (diff)
downloadtrusted-firmware-m-141f215f49aa6dc6264c64a30bbdfd28958f3305.tar.gz
Build: Enable boot data sharing with UPSTREAM
Modify the build system (by removing restrictions) to allow boot data sharing (measured boot) when the 'UPSTREAM' MCUboot repository is selected as MCUboot v1.6.0 (current default bootloader) already includes this feature. Move target specific macros definitions to target specific header files so that they are not only available in TF-M's MCUboot fork. Change-Id: Ib30976419d9d668e588c2e4fdb9f42d90d57a7e2 Signed-off-by: David Vincze <david.vincze@linaro.org>
Diffstat (limited to 'CommonConfig.cmake')
-rw-r--r--CommonConfig.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CommonConfig.cmake b/CommonConfig.cmake
index 499cdb67d8..b2febdc0d9 100644
--- a/CommonConfig.cmake
+++ b/CommonConfig.cmake
@@ -510,7 +510,7 @@ if (NOT DEFINED ATTEST_INCLUDE_TEST_CODE)
endif()
if (NOT DEFINED BOOT_DATA_AVAILABLE)
- if (BL2 AND (NOT MCUBOOT_REPO STREQUAL "UPSTREAM"))
+ if (BL2)
set(BOOT_DATA_AVAILABLE ON)
else()
set(BOOT_DATA_AVAILABLE OFF)