soc: tegra: fix CPU_BIG_ENDIAN dependencies
authorArnd Bergmann <arnd@arndb.de>
Thu, 15 Dec 2022 16:53:21 +0000 (17:53 +0100)
committerArnd Bergmann <arnd@arndb.de>
Mon, 19 Dec 2022 15:47:01 +0000 (16:47 +0100)
commitba4b4d0293ed12ec2eda09e0329d9831243ca699
tree7cf5a94138c345bd6a68a56ba145f8e657a598d6
parent6a7ee50f8f56dc181e1150cc101896053b02d220
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: 4ddb1bf1a837 ("tegra: mark BPMP driver as little-endian only")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20221215165336.1781080-1-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/soc/tegra/Kconfig