blob: 081c24427e918c91fdc7f9ec69a3e861f4e88eca [file] [log] [blame]
Varun Wadekar91535cd2020-03-12 14:32:44 -07001#
2# Copyright (c) 2020, NVIDIA Corporation. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7PLAT_INCLUDES := -Iplat/nvidia/tegra194/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 \
anzhou113d2d22020-06-04 13:20:18 +080014 plat/nvidia/drivers/reset/reset.c \
15 plat/nvidia/drivers/timer/timers.c \
16 plat/nvidia/drivers/wake/wake.c \
17 plat/nvidia/drivers/watchdog/watchdog.c \
Varun Wadekar91535cd2020-03-12 14:32:44 -070018 plat/nvidia/tegra194/helpers.S \
19 plat/nvidia/tegra194/pwr_state.c \
Varun Wadekar96b6cd22020-03-16 17:40:59 -070020 plat/nvidia/tegra194/pwr_mgmt.c \
21 plat/nvidia/tegra194/setup.c \
anzhou113d2d22020-06-04 13:20:18 +080022 plat/nvidia/tegra194/topology.c
Varun Wadekar91535cd2020-03-12 14:32:44 -070023
24PLAT_TESTS_SKIP_LIST := plat/nvidia/tegra194/tests_to_skip.txt
25
26TFTF_CFLAGS += -Wno-maybe-uninitialized
27
28ENABLE_ASSERTIONS := 1
29
Varun Wadekar35106bd2020-03-20 10:12:03 -070030PLAT_SUPPORTS_NS_RESET := 1
31
32# Process PLAT_SUPPORTS_NS_RESET flag
33$(eval $(call assert_boolean,PLAT_SUPPORTS_NS_RESET))
34$(eval $(call add_define,TFTF_DEFINES,PLAT_SUPPORTS_NS_RESET))
35
Varun Wadekar91535cd2020-03-12 14:32:44 -070036ifeq ($(USE_NVM),1)
37$(error "Tegra194 port of TFTF doesn't currently support USE_NVM=1")
38endif