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 |
Sumit Garg | 760c1d3 | 2018-06-21 11:28:18 +0530 | [diff] [blame] | 8 | override MULTI_CONSOLE_API := 1 |
| 9 | override PROGRAMMABLE_RESET_ADDRESS := 1 |
| 10 | override USE_COHERENT_MEM := 1 |
| 11 | override SEPARATE_CODE_AND_RODATA := 1 |
| 12 | override ENABLE_SVE_FOR_NS := 0 |
| 13 | |
| 14 | # Enable workarounds for selected Cortex-A53 erratas. |
| 15 | ERRATA_A53_855873 := 1 |
| 16 | |
| 17 | # Libraries |
| 18 | include lib/xlat_tables_v2/xlat_tables.mk |
| 19 | |
Sumit Garg | 760c1d3 | 2018-06-21 11:28:18 +0530 | [diff] [blame] | 20 | PLAT_PATH := plat/socionext/synquacer |
| 21 | PLAT_INCLUDES := -I$(PLAT_PATH)/include \ |
| 22 | -I$(PLAT_PATH)/drivers/scpi \ |
| 23 | -I$(PLAT_PATH)/drivers/mhu |
| 24 | |
| 25 | PLAT_BL_COMMON_SOURCES += $(PLAT_PATH)/sq_helpers.S \ |
Antonio Nino Diaz | 1d1b4f6 | 2018-09-24 17:16:30 +0100 | [diff] [blame] | 26 | drivers/arm/pl011/aarch64/pl011_console.S \ |
Sumit Garg | 760c1d3 | 2018-06-21 11:28:18 +0530 | [diff] [blame] | 27 | drivers/delay_timer/delay_timer.c \ |
| 28 | drivers/delay_timer/generic_delay_timer.c \ |
| 29 | ${XLAT_TABLES_LIB_SRCS} |
| 30 | |
| 31 | BL31_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 Biesheuvel | c0415c6 | 2018-12-29 19:44:35 +0100 | [diff] [blame] | 46 | |
| 47 | ifeq (${ENABLE_SPM},1) |
| 48 | $(eval $(call add_define,PLAT_EXTRA_LD_SCRIPT)) |
| 49 | |
| 50 | BL31_SOURCES += $(PLAT_PATH)/sq_spm.c |
| 51 | endif |