blob: 145eee0e596ebe588c5c0c9943e77dcccfc58620 [file] [log] [blame]
Haojian Zhuang602362d2017-06-01 12:15:14 +08001#
2# Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7CRASH_CONSOLE_BASE := PL011_UART6_BASE
8COLD_BOOT_SINGLE_CPU := 1
9PROGRAMMABLE_RESET_ADDRESS := 1
10
11# Process flags
12$(eval $(call add_define,CRASH_CONSOLE_BASE))
Haojian Zhuang1f73c0c2017-06-01 14:03:22 +080013$(eval $(call FIP_ADD_IMG,SCP_BL2,--scp-fw))
Haojian Zhuang602362d2017-06-01 12:15:14 +080014
15ENABLE_PLAT_COMPAT := 0
16
17USE_COHERENT_MEM := 1
18
19PLAT_INCLUDES := -Iinclude/common/tbbr \
20 -Iplat/hisilicon/hikey960/include
21
22PLAT_BL_COMMON_SOURCES := drivers/arm/pl011/pl011_console.S \
23 drivers/delay_timer/delay_timer.c \
24 drivers/delay_timer/generic_delay_timer.c \
25 lib/aarch64/xlat_tables.c \
26 plat/hisilicon/hikey960/aarch64/hikey960_common.c \
27 plat/hisilicon/hikey960/hikey960_boardid.c
28
29HIKEY960_GIC_SOURCES := drivers/arm/gic/common/gic_common.c \
30 drivers/arm/gic/v2/gicv2_main.c \
31 drivers/arm/gic/v2/gicv2_helpers.c \
32 plat/common/plat_gicv2.c
33
34BL1_SOURCES += bl1/tbbr/tbbr_img_desc.c \
35 drivers/io/io_block.c \
36 drivers/io/io_fip.c \
37 drivers/io/io_storage.c \
38 drivers/synopsys/ufs/dw_ufs.c \
39 drivers/ufs/ufs.c \
40 lib/cpus/aarch64/cortex_a53.S \
41 plat/hisilicon/hikey960/aarch64/hikey960_helpers.S \
42 plat/hisilicon/hikey960/hikey960_bl1_setup.c \
43 plat/hisilicon/hikey960/hikey960_io_storage.c \
44 ${HIKEY960_GIC_SOURCES}
Haojian Zhuang1f73c0c2017-06-01 14:03:22 +080045
46BL2_SOURCES += drivers/io/io_block.c \
47 drivers/io/io_fip.c \
48 drivers/io/io_storage.c \
49 drivers/ufs/ufs.c \
50 plat/hisilicon/hikey960/hikey960_bl2_setup.c \
51 plat/hisilicon/hikey960/hikey960_io_storage.c \
52 plat/hisilicon/hikey960/hikey960_mcu_load.c
Haojian Zhuang1b5c2252017-06-01 15:20:46 +080053
54BL31_SOURCES += drivers/arm/cci/cci.c \
55 lib/cpus/aarch64/cortex_a53.S \
56 lib/cpus/aarch64/cortex_a72.S \
57 lib/cpus/aarch64/cortex_a73.S \
58 plat/common/aarch64/plat_psci_common.c \
59 plat/hisilicon/hikey960/aarch64/hikey960_helpers.S \
60 plat/hisilicon/hikey960/hikey960_bl31_setup.c \
61 plat/hisilicon/hikey960/hikey960_pm.c \
62 plat/hisilicon/hikey960/hikey960_topology.c \
63 plat/hisilicon/hikey960/drivers/pwrc/hisi_pwrc.c \
64 plat/hisilicon/hikey960/drivers/ipc/hisi_ipc.c \
65 ${HIKEY960_GIC_SOURCES}