diff options
author | Jun Nie <jun.nie@linaro.org> | 2021-04-14 11:10:57 +0800 |
---|---|---|
committer | Jun Nie <jun.nie@linaro.org> | 2021-04-21 15:39:36 +0800 |
commit | 2254dbe74cab75657d4a1c5325f26a712a673067 (patch) | |
tree | 927d7a95c842a0f9d4a670e589ac3dd81b356591 | |
parent | 59a36d056d934574091cb12d99a6395c82e10be0 (diff) |
plat: imx8m: Build secure partition code
Build secure partition code if option is enabled
Signed-off-by: Jun Nie <jun.nie@linaro.org>
Change-Id: I7cb30a1d510e9c87e009b097972338cc90382c9b
-rw-r--r-- | plat/imx/imx8m/imx8mp/platform.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plat/imx/imx8m/imx8mp/platform.mk b/plat/imx/imx8m/imx8mp/platform.mk index 3db64bd41..dcf578adc 100644 --- a/plat/imx/imx8m/imx8mp/platform.mk +++ b/plat/imx/imx8m/imx8mp/platform.mk @@ -21,6 +21,9 @@ IMX_DRAM_SOURCES := plat/imx/imx8m/ddr/dram.c \ plat/imx/imx8m/ddr/ddr4_dvfs.c \ plat/imx/imx8m/ddr/lpddr4_dvfs.c +# Add `libfdt` and Arm common helpers required for Dynamic Config +include lib/libfdt/libfdt.mk + IMX_GIC_SOURCES := ${GICV3_SOURCES} \ plat/common/plat_gicv3.c \ plat/common/plat_psci_common.c \ @@ -49,6 +52,13 @@ BL31_SOURCES += plat/imx/common/imx8_helpers.S \ ${IMX_GIC_SOURCES} \ ${XLAT_TABLES_LIB_SRCS} +ifeq (${SPD},spmd) +BL31_SOURCES += plat/common/plat_spmd_manifest.c \ + common/fdt_wrappers.c \ + ${LIBFDT_SRCS} + +endif + ifeq (${NEED_BL2},yes) BL2_SOURCES += common/desc_image_load.c \ plat/imx/common/imx8_helpers.S \ |