From dec81f91cc382268616dfbbceb7de3a8ffd7ec20 Mon Sep 17 00:00:00 2001 From: Sami Tolvanen Date: Thu, 13 Jun 2019 12:06:48 -0700 Subject: [PATCH] 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: Idc2792d6b7d0c755f6f7695cf0b20fa49721d09c Link: https://github.com/ClangBuiltLinux/linux/issues/510 Signed-off-by: Sami Tolvanen --- drivers/soc/tegra/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/tegra/Kconfig b/drivers/soc/tegra/Kconfig index e9e277178c94..96c00470ab32 100644 --- a/drivers/soc/tegra/Kconfig +++ b/drivers/soc/tegra/Kconfig @@ -76,6 +76,7 @@ config ARCH_TEGRA_210_SOC select PINCTRL_TEGRA210 select SOC_TEGRA_FLOWCTRL select SOC_TEGRA_PMC + 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