blob: d5629d124507a2add21f3f3e8b866efdcfdde993 [file] [log] [blame]
Anson Huang0bc18302018-06-05 16:13:45 +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/imx8qx/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/imx/common/plat_imx8_gic.c
17
18BL31_SOURCES += plat/imx/common/lpuart_console.S \
19 plat/imx/common/imx8_helpers.S \
20 plat/imx/imx8qx/imx8qx_bl31_setup.c \
21 plat/imx/imx8qx/imx8qx_psci.c \
22 plat/imx/common/imx8_topology.c \
Anson Huang89726942018-07-12 10:52:55 +080023 plat/imx/common/imx8_psci.c \
Anson Huang025514b2019-01-15 10:34:04 +080024 plat/imx/common/imx_sip_svc.c \
25 plat/imx/common/imx_sip_handler.c \
Anson Huang762688b2018-07-12 14:17:19 +080026 plat/common/plat_psci_common.c \
Anson Huang0bc18302018-06-05 16:13:45 +080027 lib/xlat_tables/xlat_tables_common.c \
28 lib/xlat_tables/aarch64/xlat_tables.c \
29 lib/cpus/aarch64/cortex_a35.S \
Anson Huang0bc18302018-06-05 16:13:45 +080030 ${IMX_GIC_SOURCES} \
31
32include plat/imx/common/sci/sci_api.mk
33
Anson Huang0bc18302018-06-05 16:13:45 +080034USE_COHERENT_MEM := 1
35RESET_TO_BL31 := 1