summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRohit Ner <rohitner@google.com>2022-05-18 00:55:02 -0700
committerRohit Ner <rohitner@google.com>2022-05-18 06:11:17 -0700
commit7da7f1f0b0cc365cc7ceff492e57b9ba35f56e7e (patch)
treeb4411053783c2a9a05072c1b23c0d23492232ccc
parent48e73457a6e0f5e2203bd6536f3c9f94e22ab04c (diff)
downloadarm-trusted-firmware-7da7f1f0b0cc365cc7ceff492e57b9ba35f56e7e.tar.gz
build(stm32mp1): platform changes for verifying gpt header crc
This change makes the necessary additions to makefile of platforms using partition driver. Signed-off-by: Rohit Ner <rohitner@google.com> Change-Id: I66f6daaa0deac984b0aa5f2a182385410189ba8a
-rw-r--r--plat/st/stm32mp1/platform.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/plat/st/stm32mp1/platform.mk b/plat/st/stm32mp1/platform.mk
index 9e679899f..127e3183b 100644
--- a/plat/st/stm32mp1/platform.mk
+++ b/plat/st/stm32mp1/platform.mk
@@ -320,12 +320,14 @@ BL2_SOURCES += drivers/io/io_dummy.c \
plat/st/stm32mp1/stm32mp1_security.c
endif
-ifeq (${PSA_FWU_SUPPORT},1)
include lib/zlib/zlib.mk
+
+ifeq (${PSA_FWU_SUPPORT},1)
include drivers/fwu/fwu.mk
+endif
+
BL2_SOURCES += $(ZLIB_SOURCES)
-endif
BL2_SOURCES += drivers/io/io_block.c \
drivers/io/io_mtd.c \