blob: 96427a1613abbfbca0feba19d97615d3650a9cdc [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
8override ENABLE_PLAT_COMPAT := 0
9override MULTI_CONSOLE_API := 1
10override PROGRAMMABLE_RESET_ADDRESS := 1
11override USE_COHERENT_MEM := 1
12override SEPARATE_CODE_AND_RODATA := 1
13override ENABLE_SVE_FOR_NS := 0
14
15# Enable workarounds for selected Cortex-A53 erratas.
16ERRATA_A53_855873 := 1
17
18# Libraries
19include lib/xlat_tables_v2/xlat_tables.mk
20
Sumit Garge11f87b2018-07-19 18:05:50 +053021ifeq (${SPD},opteed)
22TF_CFLAGS_aarch64 += -DBL32_BASE=0xfc000000
23endif
24
Sumit Garg760c1d32018-06-21 11:28:18 +053025PLAT_PATH := plat/socionext/synquacer
26PLAT_INCLUDES := -I$(PLAT_PATH)/include \
27 -I$(PLAT_PATH)/drivers/scpi \
28 -I$(PLAT_PATH)/drivers/mhu
29
30PLAT_BL_COMMON_SOURCES += $(PLAT_PATH)/sq_helpers.S \
31 drivers/arm/pl011/pl011_console.S \
32 drivers/delay_timer/delay_timer.c \
33 drivers/delay_timer/generic_delay_timer.c \
34 ${XLAT_TABLES_LIB_SRCS}
35
36BL31_SOURCES += drivers/arm/ccn/ccn.c \
37 drivers/arm/gic/common/gic_common.c \
38 drivers/arm/gic/v3/gicv3_helpers.c \
39 drivers/arm/gic/v3/gicv3_main.c \
40 lib/cpus/aarch64/cortex_a53.S \
41 plat/common/plat_gicv3.c \
42 plat/common/plat_psci_common.c \
43 $(PLAT_PATH)/sq_bl31_setup.c \
44 $(PLAT_PATH)/sq_ccn.c \
45 $(PLAT_PATH)/sq_topology.c \
46 $(PLAT_PATH)/sq_psci.c \
47 $(PLAT_PATH)/sq_gicv3.c \
48 $(PLAT_PATH)/sq_xlat_setup.c \
49 $(PLAT_PATH)/drivers/scpi/sq_scpi.c \
50 $(PLAT_PATH)/drivers/mhu/sq_mhu.c