blob: 1bee20abbb66ae21a7063c890b8e35ecdaa463e4 [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 Garge11f87b2018-07-19 18:05:50 +053020ifeq (${SPD},opteed)
21TF_CFLAGS_aarch64 += -DBL32_BASE=0xfc000000
22endif
23
Sumit Garg760c1d32018-06-21 11:28:18 +053024PLAT_PATH := plat/socionext/synquacer
25PLAT_INCLUDES := -I$(PLAT_PATH)/include \
26 -I$(PLAT_PATH)/drivers/scpi \
27 -I$(PLAT_PATH)/drivers/mhu
28
29PLAT_BL_COMMON_SOURCES += $(PLAT_PATH)/sq_helpers.S \
Antonio Nino Diaz1d1b4f62018-09-24 17:16:30 +010030 drivers/arm/pl011/aarch64/pl011_console.S \
Sumit Garg760c1d32018-06-21 11:28:18 +053031 drivers/delay_timer/delay_timer.c \
32 drivers/delay_timer/generic_delay_timer.c \
33 ${XLAT_TABLES_LIB_SRCS}
34
35BL31_SOURCES += drivers/arm/ccn/ccn.c \
36 drivers/arm/gic/common/gic_common.c \
37 drivers/arm/gic/v3/gicv3_helpers.c \
38 drivers/arm/gic/v3/gicv3_main.c \
39 lib/cpus/aarch64/cortex_a53.S \
40 plat/common/plat_gicv3.c \
41 plat/common/plat_psci_common.c \
42 $(PLAT_PATH)/sq_bl31_setup.c \
43 $(PLAT_PATH)/sq_ccn.c \
44 $(PLAT_PATH)/sq_topology.c \
45 $(PLAT_PATH)/sq_psci.c \
46 $(PLAT_PATH)/sq_gicv3.c \
47 $(PLAT_PATH)/sq_xlat_setup.c \
48 $(PLAT_PATH)/drivers/scpi/sq_scpi.c \
49 $(PLAT_PATH)/drivers/mhu/sq_mhu.c