Skip to content

Commit

Permalink
soc/tegra: disable ARCH_TEGRA_210_SOC with LTO
Browse files Browse the repository at this point in the history
Disable CONFIG_ARCH_TEGRA_210_SOC with LTO to work around an issue
with ThinLTO.

Link: ClangBuiltLinux#510
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
  • Loading branch information
samitolvanen committed Jul 3, 2019
1 parent 3a1cdaa commit d52fb31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/soc/tegra/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d52fb31

Please sign in to comment.