diff options
author | Sughosh Ganu <sughosh.ganu@linaro.org> | 2021-07-05 16:50:48 +0530 |
---|---|---|
committer | Jose Marinho <jose.marinho@arm.com> | 2021-07-06 19:46:45 +0100 |
commit | 84dee469505f82b55f72f1f034c4e44271a8b560 (patch) | |
tree | d34bdecaee39b1661719ac9eec901138cb5297f5 | |
parent | edb212778870700c25dceb4dc7dc579e839d3a2c (diff) |
fwu: Add GPT_PART symbol to allow it's use for conditional compilation
The FWU multi bank boot feature is currently supported on GPT based
partition scheme. Add the GPT_PART symbol to be used for conditionally
compiling code needed for the FWU feauture.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | make_helpers/defaults.mk | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -964,6 +964,7 @@ $(eval $(call assert_booleans,\ ENABLE_FEAT_RNG \ ENABLE_FEAT_SB \ PSA_FWU_SUPPORT \ + GPT_PART \ ))) $(eval $(call assert_numerics,\ @@ -1064,6 +1065,7 @@ $(eval $(call add_defines,\ NR_OF_FW_BANKS \ NR_OF_IMAGES_IN_FW_BANK \ PSA_FWU_SUPPORT \ + GPT_PART \ ))) ifeq (${SANITIZE_UB},trap) diff --git a/make_helpers/defaults.mk b/make_helpers/defaults.mk index 72f84b52e..e53c388f6 100644 --- a/make_helpers/defaults.mk +++ b/make_helpers/defaults.mk @@ -355,3 +355,6 @@ NR_OF_IMAGES_IN_FW_BANK := 1 # Disable Firmware update support by default PSA_FWU_SUPPORT := 0 + +# Disable GPT partition support by default +GPT_PART := 0 |