mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 10:34:19 +00:00

We can enter and exit coherency without any software operations, but HW_ASSISTED_COHERENCY has stronger implications that are causing issues. Until these can be resolved, only use the weaker WARMBOOT_ENABLE_DCACHE_EARLY flag. Signed-off-by: Andrew F. Davis <afd@ti.com>
67 lines
1.7 KiB
Makefile
67 lines
1.7 KiB
Makefile
#
|
|
# Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
# We don't use BL1 or BL2, so BL31 is the first image to execute
|
|
RESET_TO_BL31 := 1
|
|
# Only one core starts up at first
|
|
COLD_BOOT_SINGLE_CPU := 1
|
|
# We can choose where a core starts executing
|
|
PROGRAMMABLE_RESET_ADDRESS:= 1
|
|
|
|
# System coherency is managed in hardware
|
|
WARMBOOT_ENABLE_DCACHE_EARLY:= 1
|
|
USE_COHERENT_MEM := 0
|
|
|
|
ERROR_DEPRECATED := 1
|
|
ENABLE_PLAT_COMPAT := 0
|
|
|
|
# A53 erratum for SoC. (enable them all)
|
|
ERRATA_A53_826319 := 1
|
|
ERRATA_A53_835769 := 1
|
|
ERRATA_A53_836870 := 1
|
|
ERRATA_A53_843419 := 1
|
|
ERRATA_A53_855873 := 1
|
|
|
|
MULTI_CONSOLE_API := 1
|
|
TI_16550_MDR_QUIRK := 1
|
|
$(eval $(call add_define,TI_16550_MDR_QUIRK))
|
|
|
|
# Libraries
|
|
include lib/xlat_tables_v2/xlat_tables.mk
|
|
|
|
PLAT_INCLUDES += \
|
|
-I${PLAT_PATH}/include \
|
|
-Iinclude/plat/arm/common/ \
|
|
-Iinclude/plat/arm/common/aarch64/ \
|
|
|
|
K3_CONSOLE_SOURCES += \
|
|
drivers/console/aarch64/console.S \
|
|
drivers/ti/uart/aarch64/16550_console.S \
|
|
${PLAT_PATH}/common/k3_console.c \
|
|
|
|
K3_GIC_SOURCES += \
|
|
drivers/arm/gic/common/gic_common.c \
|
|
drivers/arm/gic/v3/gicv3_main.c \
|
|
drivers/arm/gic/v3/gicv3_helpers.c \
|
|
plat/common/plat_gicv3.c \
|
|
${PLAT_PATH}/common/k3_gicv3.c \
|
|
|
|
K3_PSCI_SOURCES += \
|
|
plat/common/plat_psci_common.c \
|
|
${PLAT_PATH}/common/k3_psci.c \
|
|
|
|
PLAT_BL_COMMON_SOURCES += \
|
|
plat/arm/common/arm_common.c \
|
|
lib/cpus/aarch64/cortex_a53.S \
|
|
${XLAT_TABLES_LIB_SRCS} \
|
|
${K3_CONSOLE_SOURCES} \
|
|
|
|
BL31_SOURCES += \
|
|
${PLAT_PATH}/common/k3_bl31_setup.c \
|
|
${PLAT_PATH}/common/k3_helpers.S \
|
|
${PLAT_PATH}/common/k3_topology.c \
|
|
${K3_GIC_SOURCES} \
|
|
${K3_PSCI_SOURCES} \
|