summaryrefslogtreecommitdiff
path: root/plat/arm
diff options
context:
space:
mode:
authorDouglas Raillard <douglas.raillard@arm.com>2017-06-19 15:38:02 +0100
committerDouglas Raillard <douglas.raillard@arm.com>2017-06-22 18:10:51 +0100
commita94cc374ab57b80d86974f8771565d65b38403ef (patch)
tree3a55972492380ee3c8b2cd980b963ebaff1e7fb3 /plat/arm
parent3705cd47b2a431a37e2abb2fb02e513c0c0c14f9 (diff)
Apply workarounds for A53 Cat A Errata 835769 and 843419
These errata are only applicable to AArch64 state. See the errata notice for more details: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.epm048406/index.html Introduce the build options ERRATA_A53_835769 and ERRATA_A53_843419. Enable both of them for Juno. Apply the 835769 workaround as following: * Compile with -mfix-cortex-a53-835769 * Link with --fix-cortex-a53-835769 Apply the 843419 workaround as following: * Link with --fix-cortex-a53-843419 The erratum 843419 workaround can lead the linker to create new sections suffixed with "*.stub*" and 4KB aligned. The erratum 835769 can lead the linker to create new "*.stub" sections with no particular alignment. Also add support for LDFLAGS_aarch32 and LDFLAGS_aarch64 in Makefile for architecture-specific linker options. Change-Id: Iab3337e338b7a0a16b0d102404d9db98c154f8f8 Signed-off-by: Douglas Raillard <douglas.raillard@arm.com>
Diffstat (limited to 'plat/arm')
-rw-r--r--plat/arm/board/juno/platform.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/plat/arm/board/juno/platform.mk b/plat/arm/board/juno/platform.mk
index 04cd6b33..b972d26a 100644
--- a/plat/arm/board/juno/platform.mk
+++ b/plat/arm/board/juno/platform.mk
@@ -56,6 +56,8 @@ BL31_SOURCES += lib/cpus/aarch64/cortex_a53.S \
endif
# Enable workarounds for selected Cortex-A53 and A57 errata.
+ERRATA_A53_835769 := 1
+ERRATA_A53_843419 := 1
ERRATA_A53_855873 := 1
ERRATA_A57_806969 := 0
ERRATA_A57_813419 := 1