tegra_common.mk 1.11 KB
Newer Older
1
#
2
# Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
3
#
dp-arm's avatar
dp-arm committed
4
# SPDX-License-Identifier: BSD-3-Clause
5
6
7
8
9
10
#

PLAT_INCLUDES		:=	-Iplat/nvidia/tegra/include/drivers \
				-Iplat/nvidia/tegra/include \
				-Iplat/nvidia/tegra/include/${TARGET_SOC}

11
12
include lib/xlat_tables_v2/xlat_tables.mk
PLAT_BL_COMMON_SOURCES	+=	${XLAT_TABLES_LIB_SRCS}
13
14
15

COMMON_DIR		:=	plat/nvidia/tegra/common

16
17
18
19
20
21
22
TEGRA_GICv2_SOURCES	:=	drivers/arm/gic/common/gic_common.c		\
				drivers/arm/gic/v2/gicv2_main.c			\
				drivers/arm/gic/v2/gicv2_helpers.c		\
				plat/common/plat_gicv2.c			\
				${COMMON_DIR}/tegra_gicv2.c

BL31_SOURCES		+=	drivers/console/aarch64/console.S		\
23
				drivers/delay_timer/delay_timer.c		\
24
				drivers/ti/uart/aarch64/16550_console.S		\
25
				${TEGRA_GICv2_SOURCES}				\
26
27
28
				${COMMON_DIR}/aarch64/tegra_helpers.S		\
				${COMMON_DIR}/drivers/pmc/pmc.c			\
				${COMMON_DIR}/tegra_bl31_setup.c		\
29
				${COMMON_DIR}/tegra_delay_timer.c		\
30
				${COMMON_DIR}/tegra_fiq_glue.c			\
31
				${COMMON_DIR}/tegra_platform.c			\
32
				${COMMON_DIR}/tegra_pm.c			\
33
				${COMMON_DIR}/tegra_sip_calls.c			\
34
				${COMMON_DIR}/tegra_topology.c