blob: 546f84aa13f16929d592ac0347c518f7be125f02 [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
21PLAT_PATH := plat/socionext/synquacer
22PLAT_INCLUDES := -I$(PLAT_PATH)/include \
23 -I$(PLAT_PATH)/drivers/scpi \
24 -I$(PLAT_PATH)/drivers/mhu
25
26PLAT_BL_COMMON_SOURCES += $(PLAT_PATH)/sq_helpers.S \
27 drivers/arm/pl011/pl011_console.S \
28 drivers/delay_timer/delay_timer.c \
29 drivers/delay_timer/generic_delay_timer.c \
30 ${XLAT_TABLES_LIB_SRCS}
31
32BL31_SOURCES += drivers/arm/ccn/ccn.c \
33 drivers/arm/gic/common/gic_common.c \
34 drivers/arm/gic/v3/gicv3_helpers.c \
35 drivers/arm/gic/v3/gicv3_main.c \
36 lib/cpus/aarch64/cortex_a53.S \
37 plat/common/plat_gicv3.c \
38 plat/common/plat_psci_common.c \
39 $(PLAT_PATH)/sq_bl31_setup.c \
40 $(PLAT_PATH)/sq_ccn.c \
41 $(PLAT_PATH)/sq_topology.c \
42 $(PLAT_PATH)/sq_psci.c \
43 $(PLAT_PATH)/sq_gicv3.c \
44 $(PLAT_PATH)/sq_xlat_setup.c \
45 $(PLAT_PATH)/drivers/scpi/sq_scpi.c \
46 $(PLAT_PATH)/drivers/mhu/sq_mhu.c