blob: b7042e66042b8d5e6ca404b3ecc2bfa8c018b9f6 [file] [log] [blame]
Varun Wadekardbf8a2f2020-06-23 08:13:57 -07001#
2# Copyright (c) 2020, NVIDIA Corporation. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7PLAT_INCLUDES := -Iplat/nvidia/tegra186/include/
8
9PLAT_SOURCES := drivers/arm/gic/arm_gic_v2.c \
10 drivers/arm/gic/gic_common.c \
11 drivers/arm/gic/gic_v2.c \
12 drivers/arm/timer/private_timer.c \
13 drivers/ti/uart/aarch64/16550_console.S \
14 plat/nvidia/drivers/reset/reset.c \
15 plat/nvidia/drivers/timer/timers.c \
16 plat/nvidia/drivers/wake/wake.c \
17 plat/nvidia/tegra186/helpers.S \
18 plat/nvidia/tegra186/pwr_state.c \
19 plat/nvidia/tegra186/setup.c \
20 plat/nvidia/tegra186/topology.c \
21 plat/nvidia/tegra186/watchdog.c
22
23PLAT_TESTS_SKIP_LIST := plat/nvidia/tegra186/tests_to_skip.txt
24
25TFTF_CFLAGS += -Wno-maybe-uninitialized
26
27ENABLE_ASSERTIONS := 1
28
29PLAT_SUPPORTS_NS_RESET := 1
30
31# Process PLAT_SUPPORTS_NS_RESET flag
32$(eval $(call assert_boolean,PLAT_SUPPORTS_NS_RESET))
33$(eval $(call add_define,TFTF_DEFINES,PLAT_SUPPORTS_NS_RESET))
34
35ifeq ($(USE_NVM),1)
36$(error "Tegra186 port of TFTF doesn't currently support USE_NVM=1")
37endif