blob: 44ce555871953d5406f4b1ec1287b21695f9ebeb [file] [log] [blame]
Bai Ping06e325e2018-10-28 00:12:34 +08001#
Jacky Bai3bf04a52019-06-12 17:41:47 +08002# Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved.
Bai Ping06e325e2018-10-28 00:12:34 +08003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7PLAT_INCLUDES := -Iplat/imx/common/include \
8 -Iplat/imx/imx8m/include \
9 -Iplat/imx/imx8m/imx8mq/include
10
11IMX_GIC_SOURCES := drivers/arm/gic/v3/gicv3_helpers.c \
12 drivers/arm/gic/v3/arm_gicv3_common.c \
13 drivers/arm/gic/v3/gic500.c \
14 drivers/arm/gic/v3/gicv3_main.c \
15 drivers/arm/gic/common/gic_common.c \
16 plat/common/plat_gicv3.c \
17 plat/common/plat_psci_common.c \
18 plat/imx/common/plat_imx8_gic.c
19
20BL31_SOURCES += plat/imx/common/imx8_helpers.S \
21 plat/imx/imx8m/imx8mq/imx8mq_bl31_setup.c \
22 plat/imx/imx8m/imx8mq/imx8mq_psci.c \
Jacky Baif7dc4012019-03-06 16:58:18 +080023 plat/imx/imx8m/gpc_common.c \
Jacky Bai91c6d322019-05-21 20:24:52 +080024 plat/imx/imx8m/imx_aipstz.c \
Jacky Bai3bf04a52019-06-12 17:41:47 +080025 plat/imx/imx8m/imx8m_caam.c \
Jacky Baif7dc4012019-03-06 16:58:18 +080026 plat/imx/imx8m/imx8m_psci_common.c \
Bai Ping06e325e2018-10-28 00:12:34 +080027 plat/imx/imx8m/imx8mq/gpc.c \
28 plat/imx/common/imx8_topology.c \
Leonard Crestez402bd522019-05-08 22:29:21 +030029 plat/imx/common/imx_sip_handler.c \
30 plat/imx/common/imx_sip_svc.c \
Bai Ping06e325e2018-10-28 00:12:34 +080031 plat/imx/common/imx_uart_console.S \
32 lib/xlat_tables/aarch64/xlat_tables.c \
33 lib/xlat_tables/xlat_tables_common.c \
34 lib/cpus/aarch64/cortex_a53.S \
Bai Ping06e325e2018-10-28 00:12:34 +080035 drivers/arm/tzc/tzc380.c \
Jacky Baif7dc4012019-03-06 16:58:18 +080036 drivers/delay_timer/delay_timer.c \
37 drivers/delay_timer/generic_delay_timer.c \
Bai Ping06e325e2018-10-28 00:12:34 +080038 ${IMX_GIC_SOURCES}
39
40USE_COHERENT_MEM := 1
41RESET_TO_BL31 := 1
42A53_DISABLE_NON_TEMPORAL_HINT := 0
Anson Huang0f03da62019-01-24 11:00:14 +080043
44ERRATA_A53_835769 := 1
45ERRATA_A53_843419 := 1
46ERRATA_A53_855873 := 1