blob: c295e14bfd3c3ab56a4c6508844a3e7d2b6a18d6 [file] [log] [blame]
Anson Huang62f8f7a2018-06-11 12:54:05 +08001#
2# Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7PLAT_INCLUDES := -Iplat/imx/imx8qm/include \
8 -Iplat/imx/common/include \
9
10IMX_GIC_SOURCES := drivers/arm/gic/v3/gicv3_helpers.c \
11 drivers/arm/gic/v3/arm_gicv3_common.c \
12 drivers/arm/gic/v3/gic500.c \
13 drivers/arm/gic/v3/gicv3_main.c \
14 drivers/arm/gic/common/gic_common.c \
15 plat/common/plat_gicv3.c \
16 plat/common/plat_psci_common.c \
17 plat/imx/common/plat_imx8_gic.c
18
19BL31_SOURCES += plat/imx/common/lpuart_console.S \
20 plat/imx/common/imx8_helpers.S \
21 plat/imx/imx8qm/imx8qm_bl31_setup.c \
22 plat/imx/imx8qm/imx8qm_psci.c \
23 plat/imx/common/imx8_topology.c \
24 lib/xlat_tables/aarch64/xlat_tables.c \
25 lib/xlat_tables/xlat_tables_common.c \
26 lib/cpus/aarch64/cortex_a53.S \
27 lib/cpus/aarch64/cortex_a72.S \
28 drivers/console/aarch64/console.S \
29 drivers/arm/cci/cci.c \
30 ${IMX_GIC_SOURCES} \
31
32include plat/imx/common/sci/sci_api.mk
33
34ENABLE_PLAT_COMPAT := 0
35USE_COHERENT_MEM := 1
36RESET_TO_BL31 := 1
37ARM_GIC_ARCH := 3
38A53_DISABLE_NON_TEMPORAL_HINT := 0
39MULTI_CONSOLE_API := 1
40ERRATA_A72_859971 := 1