ANDROID: soc/tegra: disable ARCH_TEGRA_210_SOC with LTO

Disable CONFIG_ARCH_TEGRA_210_SOC with LTO to work around an issue
with ThinLTO.

Bug: 145210207
Change-Id: Ic37929da7337317ff2720f1f939227b99f0cdadd
Link: https://github.com/ClangBuiltLinux/linux/issues/510
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
This commit is contained in:
Sami Tolvanen
2019-06-13 12:06:48 -07:00
committed by Alistair Delva
parent 6c5ad8b10e
commit 79ff0889f8

View File

@@ -78,6 +78,7 @@ config ARCH_TEGRA_210_SOC
select SOC_TEGRA_FLOWCTRL
select SOC_TEGRA_PMC
select TEGRA_TIMER
depends on !LTO_CLANG
help
Enable support for the NVIDIA Tegra210 SoC. Also known as Tegra X1,
the Tegra210 has four Cortex-A57 cores paired with four Cortex-A53