blob: 6a0854ee25333af9c48d4044efb3ef87ac92f9cd [file] [log] [blame]
Varun Wadekarb316e242015-05-19 16:48:04 +05301#
Antonio Nino Diaz6bf7c6b2018-09-24 17:16:05 +01002# Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
Varun Wadekarb316e242015-05-19 16:48:04 +05303#
dp-armfa3cf0b2017-05-03 09:38:09 +01004# SPDX-License-Identifier: BSD-3-Clause
Varun Wadekarb316e242015-05-19 16:48:04 +05305#
6
Varun Wadekarb316e242015-05-19 16:48:04 +05307PLAT_INCLUDES := -Iplat/nvidia/tegra/include/drivers \
8 -Iplat/nvidia/tegra/include \
9 -Iplat/nvidia/tegra/include/${TARGET_SOC}
10
Varun Wadekarb5132322017-04-10 15:30:17 -070011include lib/xlat_tables_v2/xlat_tables.mk
12PLAT_BL_COMMON_SOURCES += ${XLAT_TABLES_LIB_SRCS}
Varun Wadekarb316e242015-05-19 16:48:04 +053013
14COMMON_DIR := plat/nvidia/tegra/common
15
Varun Wadekar1fd70492018-10-19 11:44:31 -070016TEGRA_GICv2_SOURCES := drivers/arm/gic/common/gic_common.c \
17 drivers/arm/gic/v2/gicv2_main.c \
18 drivers/arm/gic/v2/gicv2_helpers.c \
19 plat/common/plat_gicv2.c \
20 ${COMMON_DIR}/tegra_gicv2.c
21
22BL31_SOURCES += drivers/console/aarch64/console.S \
Varun Wadekarbc74fec2015-07-16 15:47:03 +053023 drivers/delay_timer/delay_timer.c \
Soby Mathew17231132016-08-08 12:33:06 +010024 drivers/ti/uart/aarch64/16550_console.S \
Varun Wadekar9f4a7d32018-10-19 11:42:28 -070025 ${TEGRA_GICv2_SOURCES} \
Varun Wadekarb316e242015-05-19 16:48:04 +053026 ${COMMON_DIR}/aarch64/tegra_helpers.S \
Varun Wadekarb316e242015-05-19 16:48:04 +053027 ${COMMON_DIR}/drivers/pmc/pmc.c \
Varun Wadekarb316e242015-05-19 16:48:04 +053028 ${COMMON_DIR}/tegra_bl31_setup.c \
Varun Wadekarbc74fec2015-07-16 15:47:03 +053029 ${COMMON_DIR}/tegra_delay_timer.c \
Varun Wadekardc799302015-12-28 16:36:42 -080030 ${COMMON_DIR}/tegra_fiq_glue.c \
Varun Wadekar28dcc212016-07-20 10:28:51 -070031 ${COMMON_DIR}/tegra_platform.c \
Varun Wadekarb316e242015-05-19 16:48:04 +053032 ${COMMON_DIR}/tegra_pm.c \
Varun Wadekar923d04a2015-12-09 18:18:53 -080033 ${COMMON_DIR}/tegra_sip_calls.c \
Varun Wadekarb316e242015-05-19 16:48:04 +053034 ${COMMON_DIR}/tegra_topology.c