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)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 25 Oct 2013 15:10:45 +0000 (16:10 +0100)
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>
arch/arm64/Kconfig

index 86ebfe499d6a70f86acd6dbcb6ebc76123ff5211..bbb5d9480130c6996249d00c6c1571c2f8ef5264 100644 (file)
@@ -139,6 +139,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