Sumit Garg | 760c1d3 | 2018-06-21 11:28:18 +0530 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | override RESET_TO_BL31 := 1 |
| 8 | override ENABLE_PLAT_COMPAT := 0 |
| 9 | override MULTI_CONSOLE_API := 1 |
| 10 | override PROGRAMMABLE_RESET_ADDRESS := 1 |
| 11 | override USE_COHERENT_MEM := 1 |
| 12 | override SEPARATE_CODE_AND_RODATA := 1 |
| 13 | override ENABLE_SVE_FOR_NS := 0 |
| 14 | |
| 15 | # Enable workarounds for selected Cortex-A53 erratas. |
| 16 | ERRATA_A53_855873 := 1 |
| 17 | |
| 18 | # Libraries |
| 19 | include lib/xlat_tables_v2/xlat_tables.mk |
| 20 | |
Sumit Garg | e11f87b | 2018-07-19 18:05:50 +0530 | [diff] [blame^] | 21 | ifeq (${SPD},opteed) |
| 22 | TF_CFLAGS_aarch64 += -DBL32_BASE=0xfc000000 |
| 23 | endif |
| 24 | |
Sumit Garg | 760c1d3 | 2018-06-21 11:28:18 +0530 | [diff] [blame] | 25 | PLAT_PATH := plat/socionext/synquacer |
| 26 | PLAT_INCLUDES := -I$(PLAT_PATH)/include \ |
| 27 | -I$(PLAT_PATH)/drivers/scpi \ |
| 28 | -I$(PLAT_PATH)/drivers/mhu |
| 29 | |
| 30 | PLAT_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 | |
| 36 | BL31_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 |