blob: 53c39a0fc9c87ffac15710ed126bd3498d450fb5 [file] [log] [blame]
Sumit Garg760c1d32018-06-21 11:28:18 +05301#
2# Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7override RESET_TO_BL31 := 1
Sumit Garg760c1d32018-06-21 11:28:18 +05308override MULTI_CONSOLE_API := 1
9override PROGRAMMABLE_RESET_ADDRESS := 1
10override USE_COHERENT_MEM := 1
11override SEPARATE_CODE_AND_RODATA := 1
12override ENABLE_SVE_FOR_NS := 0
13
14# Enable workarounds for selected Cortex-A53 erratas.
15ERRATA_A53_855873 := 1
16
17# Libraries
18include lib/xlat_tables_v2/xlat_tables.mk
19
Sumit Garg760c1d32018-06-21 11:28:18 +053020PLAT_PATH := plat/socionext/synquacer
21PLAT_INCLUDES := -I$(PLAT_PATH)/include \
22 -I$(PLAT_PATH)/drivers/scpi \
23 -I$(PLAT_PATH)/drivers/mhu
24
25PLAT_BL_COMMON_SOURCES += $(PLAT_PATH)/sq_helpers.S \
Antonio Nino Diaz1d1b4f62018-09-24 17:16:30 +010026 drivers/arm/pl011/aarch64/pl011_console.S \
Sumit Garg760c1d32018-06-21 11:28:18 +053027 drivers/delay_timer/delay_timer.c \
28 drivers/delay_timer/generic_delay_timer.c \
29 ${XLAT_TABLES_LIB_SRCS}
30
31BL31_SOURCES += drivers/arm/ccn/ccn.c \
32 drivers/arm/gic/common/gic_common.c \
33 drivers/arm/gic/v3/gicv3_helpers.c \
34 drivers/arm/gic/v3/gicv3_main.c \
35 lib/cpus/aarch64/cortex_a53.S \
36 plat/common/plat_gicv3.c \
37 plat/common/plat_psci_common.c \
38 $(PLAT_PATH)/sq_bl31_setup.c \
39 $(PLAT_PATH)/sq_ccn.c \
40 $(PLAT_PATH)/sq_topology.c \
41 $(PLAT_PATH)/sq_psci.c \
42 $(PLAT_PATH)/sq_gicv3.c \
43 $(PLAT_PATH)/sq_xlat_setup.c \
44 $(PLAT_PATH)/drivers/scpi/sq_scpi.c \
45 $(PLAT_PATH)/drivers/mhu/sq_mhu.c
Ard Biesheuvelc0415c62018-12-29 19:44:35 +010046
47ifeq (${ENABLE_SPM},1)
48$(eval $(call add_define,PLAT_EXTRA_LD_SCRIPT))
49
50BL31_SOURCES += $(PLAT_PATH)/sq_spm.c
51endif