blob: 34b5638ecd5abe16841380101a15a8484253b7fa [file] [log] [blame]
Varun Wadekarb316e242015-05-19 16:48:04 +05301#
Varun Wadekar396530b2019-03-01 10:18:35 -08002# Copyright (c) 2015-2019, 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
Ambroise Vincent09a22e72019-05-29 14:04:16 +010023BL31_SOURCES += drivers/delay_timer/delay_timer.c \
Varun Wadekar396530b2019-03-01 10:18:35 -080024 drivers/io/io_storage.c \
Ambroise Vincent09a22e72019-05-29 14:04:16 +010025 plat/common/aarch64/crash_console_helpers.S \
Varun Wadekar9f4a7d32018-10-19 11:42:28 -070026 ${TEGRA_GICv2_SOURCES} \
Varun Wadekarb316e242015-05-19 16:48:04 +053027 ${COMMON_DIR}/aarch64/tegra_helpers.S \
Varun Wadekarb316e242015-05-19 16:48:04 +053028 ${COMMON_DIR}/drivers/pmc/pmc.c \
Varun Wadekar4967c3d2017-07-21 13:34:16 -070029 ${COMMON_DIR}/lib/debug/profiler.c \
Varun Wadekarb316e242015-05-19 16:48:04 +053030 ${COMMON_DIR}/tegra_bl31_setup.c \
Varun Wadekarbc74fec2015-07-16 15:47:03 +053031 ${COMMON_DIR}/tegra_delay_timer.c \
Varun Wadekardc799302015-12-28 16:36:42 -080032 ${COMMON_DIR}/tegra_fiq_glue.c \
Varun Wadekar396530b2019-03-01 10:18:35 -080033 ${COMMON_DIR}/tegra_io_storage.c \
Varun Wadekar28dcc212016-07-20 10:28:51 -070034 ${COMMON_DIR}/tegra_platform.c \
Varun Wadekarb316e242015-05-19 16:48:04 +053035 ${COMMON_DIR}/tegra_pm.c \
Varun Wadekar923d04a2015-12-09 18:18:53 -080036 ${COMMON_DIR}/tegra_sip_calls.c \
Varun Wadekarb316e242015-05-19 16:48:04 +053037 ${COMMON_DIR}/tegra_topology.c