Varun Wadekar | b316e24 | 2015-05-19 16:48:04 +0530 | [diff] [blame] | 1 | # |
Varun Wadekar | 396530b | 2019-03-01 10:18:35 -0800 | [diff] [blame] | 2 | # Copyright (c) 2015-2019, ARM Limited and Contributors. All rights reserved. |
Varun Wadekar | 087190f | 2020-05-16 22:10:09 -0700 | [diff] [blame] | 3 | # Copyright (c) 2020, NVIDIA Corporation. All rights reserved. |
Varun Wadekar | b316e24 | 2015-05-19 16:48:04 +0530 | [diff] [blame] | 4 | # |
dp-arm | fa3cf0b | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 5 | # SPDX-License-Identifier: BSD-3-Clause |
Varun Wadekar | b316e24 | 2015-05-19 16:48:04 +0530 | [diff] [blame] | 6 | # |
| 7 | |
Varun Wadekar | b316e24 | 2015-05-19 16:48:04 +0530 | [diff] [blame] | 8 | PLAT_INCLUDES := -Iplat/nvidia/tegra/include/drivers \ |
Varun Wadekar | 4967c3d | 2017-07-21 13:34:16 -0700 | [diff] [blame] | 9 | -Iplat/nvidia/tegra/include/lib \ |
Varun Wadekar | 26dfb51 | 2019-01-17 16:36:23 -0800 | [diff] [blame] | 10 | -Iplat/nvidia/tegra/include |
Varun Wadekar | b316e24 | 2015-05-19 16:48:04 +0530 | [diff] [blame] | 11 | |
Varun Wadekar | b513232 | 2017-04-10 15:30:17 -0700 | [diff] [blame] | 12 | include lib/xlat_tables_v2/xlat_tables.mk |
| 13 | PLAT_BL_COMMON_SOURCES += ${XLAT_TABLES_LIB_SRCS} |
Varun Wadekar | b316e24 | 2015-05-19 16:48:04 +0530 | [diff] [blame] | 14 | |
| 15 | COMMON_DIR := plat/nvidia/tegra/common |
| 16 | |
Varun Wadekar | 1fd7049 | 2018-10-19 11:44:31 -0700 | [diff] [blame] | 17 | TEGRA_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 Vincent | 09a22e7 | 2019-05-29 14:04:16 +0100 | [diff] [blame] | 23 | BL31_SOURCES += drivers/delay_timer/delay_timer.c \ |
Varun Wadekar | 396530b | 2019-03-01 10:18:35 -0800 | [diff] [blame] | 24 | drivers/io/io_storage.c \ |
Ambroise Vincent | 09a22e7 | 2019-05-29 14:04:16 +0100 | [diff] [blame] | 25 | plat/common/aarch64/crash_console_helpers.S \ |
Varun Wadekar | 9f4a7d3 | 2018-10-19 11:42:28 -0700 | [diff] [blame] | 26 | ${TEGRA_GICv2_SOURCES} \ |
Varun Wadekar | b316e24 | 2015-05-19 16:48:04 +0530 | [diff] [blame] | 27 | ${COMMON_DIR}/aarch64/tegra_helpers.S \ |
Varun Wadekar | 4967c3d | 2017-07-21 13:34:16 -0700 | [diff] [blame] | 28 | ${COMMON_DIR}/lib/debug/profiler.c \ |
Varun Wadekar | b316e24 | 2015-05-19 16:48:04 +0530 | [diff] [blame] | 29 | ${COMMON_DIR}/tegra_bl31_setup.c \ |
Varun Wadekar | bc74fec | 2015-07-16 15:47:03 +0530 | [diff] [blame] | 30 | ${COMMON_DIR}/tegra_delay_timer.c \ |
Varun Wadekar | bef02f0 | 2020-04-17 19:09:21 -0700 | [diff] [blame] | 31 | ${COMMON_DIR}/tegra_ehf.c \ |
Varun Wadekar | dc79930 | 2015-12-28 16:36:42 -0800 | [diff] [blame] | 32 | ${COMMON_DIR}/tegra_fiq_glue.c \ |
Varun Wadekar | 396530b | 2019-03-01 10:18:35 -0800 | [diff] [blame] | 33 | ${COMMON_DIR}/tegra_io_storage.c \ |
Varun Wadekar | 28dcc21 | 2016-07-20 10:28:51 -0700 | [diff] [blame] | 34 | ${COMMON_DIR}/tegra_platform.c \ |
Varun Wadekar | b316e24 | 2015-05-19 16:48:04 +0530 | [diff] [blame] | 35 | ${COMMON_DIR}/tegra_pm.c \ |
Varun Wadekar | bef02f0 | 2020-04-17 19:09:21 -0700 | [diff] [blame] | 36 | ${COMMON_DIR}/tegra_sip_calls.c \ |
| 37 | ${COMMON_DIR}/tegra_sdei.c |
Varun Wadekar | 087190f | 2020-05-16 22:10:09 -0700 | [diff] [blame] | 38 | |
| 39 | ifneq ($(ENABLE_STACK_PROTECTOR), 0) |
| 40 | BL31_SOURCES += ${COMMON_DIR}/tegra_stack_protector.c |
| 41 | endif |