tegra: mark BPMP driver as little-endian only
authorArnd Bergmann <arnd@arndb.de>
Wed, 23 Nov 2022 13:21:16 +0000 (14:21 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 23 Nov 2022 13:21:23 +0000 (14:21 +0100)
The BPMP firmware driver never worked on big-endian kernels, and
cannot easily be made portable. Add a dependency to make this clear
in case anyone ever wants to try a big-endian kernel on this hardware.

Link: https://lore.kernel.org/linux-arm-kernel/Y34FCQ3xTmcjqKRT@orome/
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/firmware/tegra/Kconfig

index 1c8ba1f47c7c660ac668b5ed29fb7d5a044ac000..cde1ab8bd9d1cbaff308d95acabbf0e914fe7a61 100644 (file)
@@ -14,6 +14,7 @@ config TEGRA_IVC
 config TEGRA_BPMP
        bool "Tegra BPMP driver"
        depends on ARCH_TEGRA && TEGRA_HSP_MBOX && TEGRA_IVC
+       depends on !CPU_BIG_ENDIAN
        help
          BPMP (Boot and Power Management Processor) is designed to off-loading
          the PM functions which include clock/DVFS/thermal/power from the CPU.