xref: /rk3399_ARM-atf/plat/imx/imx8qx/platform.mk (revision a6ea06f563bf1a7545732892d1da3bf2dced2e47)
10bc18309SAnson Huang#
26e19bd56SAlexei Fedorov# Copyright (c) 2015-2020, ARM Limited and Contributors. All rights reserved.
30bc18309SAnson Huang#
40bc18309SAnson Huang# SPDX-License-Identifier: BSD-3-Clause
50bc18309SAnson Huang#
60bc18309SAnson Huang
70bc18309SAnson HuangPLAT_INCLUDES		:=	-Iplat/imx/imx8qx/include		\
80bc18309SAnson Huang				-Iplat/imx/common/include		\
90bc18309SAnson Huang
10*a6ea06f5SAlexei Fedorov# Include GICv3 driver files
11*a6ea06f5SAlexei Fedorovinclude drivers/arm/gic/v3/gicv3.mk
12*a6ea06f5SAlexei Fedorov
13*a6ea06f5SAlexei FedorovIMX_GIC_SOURCES	:=		${GICV3_SOURCES}			\
140bc18309SAnson Huang				plat/common/plat_gicv3.c		\
150bc18309SAnson Huang				plat/imx/common/plat_imx8_gic.c
160bc18309SAnson Huang
170bc18309SAnson HuangBL31_SOURCES		+=	plat/imx/common/lpuart_console.S	\
180bc18309SAnson Huang				plat/imx/common/imx8_helpers.S		\
190bc18309SAnson Huang				plat/imx/imx8qx/imx8qx_bl31_setup.c	\
200bc18309SAnson Huang				plat/imx/imx8qx/imx8qx_psci.c		\
210bc18309SAnson Huang				plat/imx/common/imx8_topology.c		\
228972694eSAnson Huang				plat/imx/common/imx8_psci.c		\
23025514baSAnson Huang				plat/imx/common/imx_sip_svc.c		\
24025514baSAnson Huang				plat/imx/common/imx_sip_handler.c	\
25762688bfSAnson Huang				plat/common/plat_psci_common.c		\
260bc18309SAnson Huang				lib/xlat_tables/xlat_tables_common.c	\
270bc18309SAnson Huang				lib/xlat_tables/aarch64/xlat_tables.c	\
280bc18309SAnson Huang				lib/cpus/aarch64/cortex_a35.S		\
290bc18309SAnson Huang				${IMX_GIC_SOURCES}			\
300bc18309SAnson Huang
310bc18309SAnson Huanginclude plat/imx/common/sci/sci_api.mk
320bc18309SAnson Huang
330bc18309SAnson HuangUSE_COHERENT_MEM	:=	1
340bc18309SAnson HuangRESET_TO_BL31		:=	1
35