diff --git a/plat/arm/common/arm_common.mk b/plat/arm/common/arm_common.mk index 32365967d..064ed57a5 100644 --- a/plat/arm/common/arm_common.mk +++ b/plat/arm/common/arm_common.mk @@ -282,7 +282,7 @@ endif ifeq (${JUNO_AARCH32_EL3_RUNTIME},1) BL2_SOURCES += plat/arm/common/aarch32/arm_bl2_mem_params_desc.c else -ifeq ($(filter ${TARGET_PLATFORM}, fpga fvp),) +ifneq (${PLAT}, diphda) BL2_SOURCES += plat/arm/common/${ARCH}/arm_bl2_mem_params_desc.c endif endif