Haojian Zhuang | 602362d | 2017-06-01 12:15:14 +0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | CRASH_CONSOLE_BASE := PL011_UART6_BASE |
| 8 | COLD_BOOT_SINGLE_CPU := 1 |
| 9 | PROGRAMMABLE_RESET_ADDRESS := 1 |
| 10 | |
| 11 | # Process flags |
| 12 | $(eval $(call add_define,CRASH_CONSOLE_BASE)) |
Haojian Zhuang | 1f73c0c | 2017-06-01 14:03:22 +0800 | [diff] [blame] | 13 | $(eval $(call FIP_ADD_IMG,SCP_BL2,--scp-fw)) |
Haojian Zhuang | 602362d | 2017-06-01 12:15:14 +0800 | [diff] [blame] | 14 | |
| 15 | ENABLE_PLAT_COMPAT := 0 |
| 16 | |
| 17 | USE_COHERENT_MEM := 1 |
| 18 | |
| 19 | PLAT_INCLUDES := -Iinclude/common/tbbr \ |
| 20 | -Iplat/hisilicon/hikey960/include |
| 21 | |
| 22 | PLAT_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 | |
| 29 | HIKEY960_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 | |
| 34 | BL1_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 Zhuang | 1f73c0c | 2017-06-01 14:03:22 +0800 | [diff] [blame] | 45 | |
| 46 | BL2_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 Zhuang | 1b5c225 | 2017-06-01 15:20:46 +0800 | [diff] [blame] | 53 | |
| 54 | BL31_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} |