aboutsummaryrefslogtreecommitdiffstats
path: root/plat
diff options
context:
space:
mode:
authorJohn Tsichritzis <john.tsichritzis@arm.com>2019-06-17 11:49:23 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2019-06-17 11:49:23 +0000
commit6acb509c087b374974573cc9612ea0323709f7a9 (patch)
treee594d0f3ec034381a341532aa8ef48c06202a20c /plat
parente1368771bae5566f63ce5467df480baa6c135b39 (diff)
parent8f31853babcee794d3f282c1584abe72e1bbd8b5 (diff)
downloadplatform_external_arm-trusted-firmware-6acb509c087b374974573cc9612ea0323709f7a9.tar.gz
platform_external_arm-trusted-firmware-6acb509c087b374974573cc9612ea0323709f7a9.tar.bz2
platform_external_arm-trusted-firmware-6acb509c087b374974573cc9612ea0323709f7a9.zip
Merge "allwinner: Disable unused features to save space" into integration
Diffstat (limited to 'plat')
-rw-r--r--plat/allwinner/common/allwinner-common.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/plat/allwinner/common/allwinner-common.mk b/plat/allwinner/common/allwinner-common.mk
index f20f5157e..585079b75 100644
--- a/plat/allwinner/common/allwinner-common.mk
+++ b/plat/allwinner/common/allwinner-common.mk
@@ -38,6 +38,12 @@ BL31_SOURCES += drivers/arm/gic/common/gic_common.c \
# The bootloader is guaranteed to only run on CPU 0 by the boot ROM.
COLD_BOOT_SINGLE_CPU := 1
+# Do not enable SPE (not supported on ARM v8.0).
+ENABLE_SPE_FOR_LOWER_ELS := 0
+
+# Do not enable SVE (not supported on ARM v8.0).
+ENABLE_SVE_FOR_NS := 0
+
# Enable workarounds for Cortex-A53 errata. Allwinner uses at least r0p4.
ERRATA_A53_835769 := 1
ERRATA_A53_843419 := 1
@@ -56,3 +62,6 @@ RESET_TO_BL31 := 1
# We are short on memory, so save 3.5KB by not having an extra coherent page.
USE_COHERENT_MEM := 0
+
+# This platform is single-cluster and does not require coherency setup.
+WARMBOOT_ENABLE_DCACHE_EARLY := 1