blob: d9eec4d37c0701510fd4d87be10710a062584142 [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 \
Varun Wadekar4967c3d2017-07-21 13:34:16 -07008 -Iplat/nvidia/tegra/include/lib \
Varun Wadekarb316e242015-05-19 16:48:04 +05309 -Iplat/nvidia/tegra/include \
10 -Iplat/nvidia/tegra/include/${TARGET_SOC}
11
Varun Wadekarb5132322017-04-10 15:30:17 -070012include lib/xlat_tables_v2/xlat_tables.mk
13PLAT_BL_COMMON_SOURCES += ${XLAT_TABLES_LIB_SRCS}
Varun Wadekarb316e242015-05-19 16:48:04 +053014
15COMMON_DIR := plat/nvidia/tegra/common
16
Varun Wadekar1fd70492018-10-19 11:44:31 -070017TEGRA_GICv2_SOURCES := drivers/arm/gic/common/gic_common.c \
18 drivers/arm/gic/v2/gicv2_main.c \
19 drivers/arm/gic/v2/gicv2_helpers.c \
20 plat/common/plat_gicv2.c \
21 ${COMMON_DIR}/tegra_gicv2.c
22
23BL31_SOURCES += drivers/console/aarch64/console.S \
Varun Wadekarbc74fec2015-07-16 15:47:03 +053024 drivers/delay_timer/delay_timer.c \
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 Wadekar4967c3d2017-07-21 13:34:16 -070028 ${COMMON_DIR}/lib/debug/profiler.c \
Varun Wadekarb316e242015-05-19 16:48:04 +053029 ${COMMON_DIR}/tegra_bl31_setup.c \
Varun Wadekarbc74fec2015-07-16 15:47:03 +053030 ${COMMON_DIR}/tegra_delay_timer.c \
Varun Wadekardc799302015-12-28 16:36:42 -080031 ${COMMON_DIR}/tegra_fiq_glue.c \
Varun Wadekar28dcc212016-07-20 10:28:51 -070032 ${COMMON_DIR}/tegra_platform.c \
Varun Wadekarb316e242015-05-19 16:48:04 +053033 ${COMMON_DIR}/tegra_pm.c \
Varun Wadekar923d04a2015-12-09 18:18:53 -080034 ${COMMON_DIR}/tegra_sip_calls.c \
Varun Wadekarb316e242015-05-19 16:48:04 +053035 ${COMMON_DIR}/tegra_topology.c