Skip to content

Commit

Permalink
ANDROID: 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.

Bug: 145210207
Change-Id: Idc2792d6b7d0c755f6f7695cf0b20fa49721d09c
Link: ClangBuiltLinux/linux#510
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
  • Loading branch information
samitolvanen authored and borbelyvince committed Oct 2, 2024
1 parent 75ccb3a commit 4cc4c76
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 @@ -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
Expand Down

0 comments on commit 4cc4c76

Please sign in to comment.