ARM: support big-endian for the virt architecture
authorJason A. Donenfeld <Jason@zx2c4.com>
Wed, 26 Sep 2018 13:51:10 +0000 (15:51 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 28 Sep 2018 15:46:11 +0000 (17:46 +0200)
This architecture, used for running in QEMU, runs just fine when
compiled in big-endian mode. So enable it. This is enabled in exactly
the same way that it is for other platforms (such as vexpress) that also
support big-endian mode in QEMU successfully.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/Kconfig

index e8cd55a5b04c0570a4ed66b522446b8eee4d202d..b8c6062ca0c11650677b427098c2cefffcf49956 100644 (file)
@@ -701,6 +701,7 @@ config ARCH_VIRT
        select ARM_GIC_V3_ITS if PCI
        select ARM_PSCI
        select HAVE_ARM_ARCH_TIMER
+       select ARCH_SUPPORTS_BIG_ENDIAN
 
 #
 # This is sorted alphabetically by mach-* pathname.  However, plat-*