arm64: kconfig: allow CPU_BIG_ENDIAN to be selected
authorWill Deacon <will.deacon@arm.com>
Fri, 11 Oct 2013 13:52:19 +0000 (14:52 +0100)
committerVictor Kamensky <victor.kamensky@linaro.org>
Fri, 14 Mar 2014 01:28:45 +0000 (18:28 -0700)
This patch wires up CONFIG_CPU_BIG_ENDIAN for the AArch64 kernel
configuration.

Selecting this option builds a big-endian kernel which can boot into a
big-endian userspace.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit a872013d6d03ab63736a01dcd9747580be3a6b70)

Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
arch/arm64/Kconfig

index a95dc907a139d9fc02cafa489b1a1b84227ceb64..d22b183db226e5fbbccee03ba6e90fced379703d 100644 (file)
@@ -130,6 +130,11 @@ config ARM64_64K_PAGES
          look-up. AArch32 emulation is not available when this feature
          is enabled.
 
+config CPU_BIG_ENDIAN
+       bool "Build big-endian kernel"
+       help
+         Say Y if you plan on running a kernel in big-endian mode.
+
 config SMP
        bool "Symmetric Multi-Processing"
        select USE_GENERIC_SMP_HELPERS