diff options
author | Andrei Narkevitch <ainh@cypress.com> | 2019-11-18 12:16:50 -0800 |
---|---|---|
committer | Andrei Narkevitch <ainh@cypress.com> | 2019-11-22 18:03:12 +0000 |
commit | 790a18866b39f02dfc83c60296ef57fa7b504ee9 (patch) | |
tree | 977977f0be0fb1c7a0ad68463a3835640d8b033d | |
parent | 52e74bb385de4ed190a2269daea938fe099ccb68 (diff) | |
download | trusted-firmware-m-790a18866b39f02dfc83c60296ef57fa7b504ee9.tar.gz |
Plat: disable BL2 build for psoc64 and psoc64_1m
PSoC64 platforms do not use TF-M BL2 (mcuboot).
Signed-off-by: Andrei Narkevitch <ainh@cypress.com>
Change-Id: I16b438778eb26c3d134636a0081d0a417d4dea6e
-rw-r--r-- | platform/ext/psoc64.cmake | 4 | ||||
-rw-r--r-- | platform/ext/psoc64_1m.cmake | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/platform/ext/psoc64.cmake b/platform/ext/psoc64.cmake index 5b24963291..e3060999ed 100644 --- a/platform/ext/psoc64.cmake +++ b/platform/ext/psoc64.cmake @@ -20,6 +20,10 @@ add_definitions(-DCY8C624ABZI_D44=1) add_definitions(-DNDEBUG=1) add_definitions(-DTFM_CORE_DEBUG) +# psoc64 platform doesn't use TF-M BL2 +set(BL2 False) +remove_definitions(-DBL2) + # Skip Core Test temporarily set(CORE_TEST OFF) # Skip peripheral access test diff --git a/platform/ext/psoc64_1m.cmake b/platform/ext/psoc64_1m.cmake index f92f5eca46..61a540404a 100644 --- a/platform/ext/psoc64_1m.cmake +++ b/platform/ext/psoc64_1m.cmake @@ -19,6 +19,10 @@ add_definitions(-DCYB06447BZI_D54=1) add_definitions(-DNDEBUG=1) add_definitions(-DTFM_CORE_DEBUG) +# psoc64 platform doesn't use TF-M BL2 +set(BL2 False) +remove_definitions(-DBL2) + # Skip Core Test temporarily set(CORE_TEST OFF) # Skip peripheral access test |