summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSughosh Ganu <sughosh.ganu@linaro.org>2021-07-05 16:50:48 +0530
committerJose Marinho <jose.marinho@arm.com>2021-07-06 19:46:45 +0100
commit84dee469505f82b55f72f1f034c4e44271a8b560 (patch)
treed34bdecaee39b1661719ac9eec901138cb5297f5
parentedb212778870700c25dceb4dc7dc579e839d3a2c (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--Makefile2
-rw-r--r--make_helpers/defaults.mk3
2 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b4bebf17f..ee9d941ed 100644
--- a/Makefile
+++ b/Makefile
@@ -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