blob: 20b42dff3dbdae46d38b09400d4a96f195ec4593 [file] [log] [blame]
John Tsichritzisd3255542018-10-10 13:13:43 +01001#
2# Copyright (c) 2018, Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7HIKEY960_PATH := plat/hisilicon/hikey960
8
9PLAT_INCLUDES := -I${HIKEY960_PATH}/include/
10
11PLAT_SOURCES := ${HIKEY960_PATH}/hikey960_setup.c \
12 ${HIKEY960_PATH}/hikey960_pwr_state.c \
13 ${HIKEY960_PATH}/aarch64/plat_helpers.S \
14 drivers/arm/pl011/${ARCH}/pl011_console.S \
15 drivers/arm/gic/gic_common.c \
16 drivers/arm/gic/gic_v2.c \
17 drivers/arm/gic/arm_gic_v2.c \
18 drivers/arm/timer/system_timer.c \
19 drivers/arm/timer/private_timer.c \
Manish Pandeyf218ffe2020-04-09 15:16:40 +010020 drivers/console/console.c \
John Tsichritzisd3255542018-10-10 13:13:43 +010021 plat/arm/common/arm_timers.c
22
John Tsichritzise2236992018-10-25 10:05:39 +010023TFTF_CFLAGS += -Wno-maybe-uninitialized
24
John Tsichritzisd3255542018-10-10 13:13:43 +010025ifeq ($(USE_NVM),1)
26$(error "Hikey960 port of TFTF doesn't currently support USE_NVM=1")
27endif
28ifneq ($(TESTS),tftf-validation)
29$(error "Hikey960 port currently only supports tftf-validation")
30endif