Skip to content

Commit ba4b4d0

Browse files
committed
soc: tegra: fix CPU_BIG_ENDIAN dependencies
My previous patch to prevent BPMP from being enabled on big endian kernels caused a build regression: WARNING: unmet direct dependencies detected for TEGRA_BPMP Depends on [n]: ARCH_TEGRA [=y] && TEGRA_HSP_MBOX [=y] && TEGRA_IVC [=y] && !CPU_BIG_ENDIAN [=y] Selected by [y]: - ARCH_TEGRA_186_SOC [=y] && ARCH_TEGRA [=y] && ARM64 [=y] - ARCH_TEGRA_194_SOC [=y] && ARCH_TEGRA [=y] && ARM64 [=y] - ARCH_TEGRA_234_SOC [=y] && ARCH_TEGRA [=y] && ARM64 [=y] Add even more such dependencies for the SoC types that use the BPMP driver. Fixes: 4ddb1bf ("tegra: mark BPMP driver as little-endian only") Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Thierry Reding <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
1 parent 6a7ee50 commit ba4b4d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/soc/tegra/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ config ARCH_TEGRA_210_SOC
9595

9696
config ARCH_TEGRA_186_SOC
9797
bool "NVIDIA Tegra186 SoC"
98+
depends on !CPU_BIG_ENDIAN
9899
select MAILBOX
99100
select TEGRA_BPMP
100101
select TEGRA_HSP_MBOX
@@ -110,6 +111,7 @@ config ARCH_TEGRA_186_SOC
110111

111112
config ARCH_TEGRA_194_SOC
112113
bool "NVIDIA Tegra194 SoC"
114+
depends on !CPU_BIG_ENDIAN
113115
select MAILBOX
114116
select PINCTRL_TEGRA194
115117
select TEGRA_BPMP
@@ -121,6 +123,7 @@ config ARCH_TEGRA_194_SOC
121123

122124
config ARCH_TEGRA_234_SOC
123125
bool "NVIDIA Tegra234 SoC"
126+
depends on !CPU_BIG_ENDIAN
124127
select MAILBOX
125128
select TEGRA_BPMP
126129
select TEGRA_HSP_MBOX

0 commit comments

Comments
 (0)