blob: 56a60a8dd6f6388e13710d2fde3143e79667d6c5 [file] [log] [blame]
Nishanth Menon0192f892016-10-14 01:13:34 +00001#
2# Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7# We don't use BL1 or BL2, so BL31 is the first image to execute
8RESET_TO_BL31 := 1
9# Only one core starts up at first
10COLD_BOOT_SINGLE_CPU := 1
11# We can choose where a core starts executing
12PROGRAMMABLE_RESET_ADDRESS:= 1
13
14# System coherency is managed in hardware
15HW_ASSISTED_COHERENCY := 1
16USE_COHERENT_MEM := 0
17
18ERROR_DEPRECATED := 1
19ENABLE_PLAT_COMPAT := 0
20
21# A53 erratum for SoC. (enable them all)
22ERRATA_A53_826319 := 1
23ERRATA_A53_835769 := 1
24ERRATA_A53_836870 := 1
25ERRATA_A53_843419 := 1
26ERRATA_A53_855873 := 1
27
Nishanth Menonce976042016-10-14 01:13:44 +000028MULTI_CONSOLE_API := 1
29TI_16550_MDR_QUIRK := 1
30$(eval $(call add_define,TI_16550_MDR_QUIRK))
31
Nishanth Menon3ed1b282016-10-14 01:13:45 +000032# Libraries
33include lib/xlat_tables_v2/xlat_tables.mk
34
Nishanth Menon0192f892016-10-14 01:13:34 +000035PLAT_INCLUDES += \
36 -I${PLAT_PATH}/include \
37 -Iinclude/plat/arm/common/ \
38 -Iinclude/plat/arm/common/aarch64/ \
39
Nishanth Menonce976042016-10-14 01:13:44 +000040K3_CONSOLE_SOURCES += \
41 drivers/console/aarch64/console.S \
42 drivers/ti/uart/aarch64/16550_console.S \
43 ${PLAT_PATH}/common/k3_console.c \
44
Nishanth Menon0192f892016-10-14 01:13:34 +000045PLAT_BL_COMMON_SOURCES += \
Nishanth Menon3ed1b282016-10-14 01:13:45 +000046 plat/arm/common/arm_common.c \
Nishanth Menon0192f892016-10-14 01:13:34 +000047 lib/cpus/aarch64/cortex_a53.S \
Nishanth Menon3ed1b282016-10-14 01:13:45 +000048 ${XLAT_TABLES_LIB_SRCS} \
Nishanth Menonce976042016-10-14 01:13:44 +000049 ${K3_CONSOLE_SOURCES} \
Nishanth Menon0192f892016-10-14 01:13:34 +000050
51BL31_SOURCES += \
52 ${PLAT_PATH}/common/k3_bl31_setup.c \
Benjamin Fairf807a342016-10-18 14:32:06 -050053 ${PLAT_PATH}/common/k3_helpers.S \
Benjamin Fair42eea872016-10-14 01:13:47 +000054 ${PLAT_PATH}/common/k3_topology.c \