blob: a50887a7a18b22e2059e723572a405327f72178e [file] [log] [blame]
PLAT_INCLUDES := -Iplat/freescale/imx8mq/include \
-Iplat/freescale/common/include \
PLAT_GIC_SOURCES := drivers/arm/gic/v3/gicv3_helpers.c \
drivers/arm/gic/v3/gicv3_main.c \
drivers/arm/gic/common/gic_common.c \
plat/common/plat_gicv3.c \
plat/freescale/common/plat_imx8_gic.c
PLAT_DDR_SOURCES := plat/freescale/imx8mq/ddr/lpddr4_ddrc_cfg.c \
plat/freescale/imx8mq/ddr/lpddr4_phy_cfg.c \
plat/freescale/imx8mq/ddr/lpddr4_dvfs.c \
plat/freescale/imx8mq/ddr/lpddr4_swffc.c \
plat/freescale/imx8mq/ddr/lpddr4_retention.c
BL31_SOURCES += plat/freescale/common/imx8_helpers.S \
plat/freescale/common/mxcuart_console.S \
plat/freescale/common/sip_svc.c \
plat/freescale/imx8mq/imx8m_bl31_setup.c \
plat/freescale/imx8mq/src.c \
plat/freescale/imx8mq/hab.c \
plat/freescale/imx8mq/gpc.c \
plat/freescale/imx8mq/imx8m_psci.c \
plat/freescale/imx8mq/imx_csu.c \
plat/freescale/imx8mq/imx_rdc.c \
plat/freescale/common/imx8_topology.c \
plat/common/plat_psci_common.c \
lib/xlat_tables/aarch64/xlat_tables.c \
lib/xlat_tables/xlat_tables_common.c \
lib/cpus/aarch64/cortex_a53.S \
drivers/console/aarch64/console.S \
${PLAT_GIC_SOURCES} \
${PLAT_DDR_SOURCES} \
drivers/arm/tzc/tzc380.c
ENABLE_PLAT_COMPAT := 0
USE_COHERENT_MEM := 0
RESET_TO_BL31 := 1
ERROR_DEPRECATED := 1
XLAT_TABLE_IN_OCRAM_S := 1
STACK_IN_OCRAM_S := 1
ifneq (${SPD},none)
$(eval $(call add_define,TEE_IMX8))
endif
$(eval $(call add_define,XLAT_TABLE_IN_OCRAM_S))
$(eval $(call add_define,STACK_IN_OCRAM_S))