diff options
Diffstat (limited to 'plat/arm/common/arm_common.mk')
-rw-r--r-- | plat/arm/common/arm_common.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plat/arm/common/arm_common.mk b/plat/arm/common/arm_common.mk index cb969b20b5..9f39d71ad4 100644 --- a/plat/arm/common/arm_common.mk +++ b/plat/arm/common/arm_common.mk @@ -244,6 +244,15 @@ BL31_SOURCES += lib/extensions/ras/std_err_record.c \ lib/extensions/ras/ras_common.c endif +# SPM uses libfdt in Arm platforms +ifeq (${SPM_DEPRECATED},0) +ifeq (${ENABLE_SPM},1) +BL31_SOURCES += common/fdt_wrappers.c \ + plat/common/plat_spm_rd.c \ + ${LIBFDT_SRCS} +endif +endif + ifneq (${TRUSTED_BOARD_BOOT},0) # Include common TBB sources |