blob: 4bc1626a26f0c5efba5fec8a4ab21be163db0649 [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 \
20 plat/arm/common/arm_timers.c
21
John Tsichritzise2236992018-10-25 10:05:39 +010022TFTF_CFLAGS += -Wno-maybe-uninitialized
23
John Tsichritzisd3255542018-10-10 13:13:43 +010024ifeq ($(USE_NVM),1)
25$(error "Hikey960 port of TFTF doesn't currently support USE_NVM=1")
26endif
27ifneq ($(TESTS),tftf-validation)
28$(error "Hikey960 port currently only supports tftf-validation")
29endif