arm64: xcompile: Add support for A53 erratum 843419
This patch adds support to enable a linker workaround to a hardware
erratum on some early Cortex-A53 revisions. Since the linker option was
added very recently, we use xcompile to test whether the toolchain
supports it first. It is also guarded by a Kconfig since only a few
ARM64 SoCs will need this and it incurs a performance penalty.
TEST=Turned it on or off for Smaug and confirmed that it (dis)appeared
in verbose make output accordingly.
Signed-off-by: Patrick Georgi <firstname.lastname@example.org>
Original-Signed-off-by: Julius Werner <email@example.com>
Original-Reviewed-by: Patrick Georgi <firstname.lastname@example.org>
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <email@example.com>
Reviewed-by: Julius Werner <firstname.lastname@example.org>
4 files changed