summaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-10-11 14:52:19 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2013-10-25 16:10:45 +0100
commita872013d6d03ab63736a01dcd9747580be3a6b70 (patch)
tree14f3c00438cc4a18385db61745ab4e815b2646e0 /arch/arm64
parent4a12cae7ef2612eb094c4b48e8b37cf837e3df55 (diff)
downloadop-kernel-dev-a872013d6d03ab63736a01dcd9747580be3a6b70.zip
op-kernel-dev-a872013d6d03ab63736a01dcd9747580be3a6b70.tar.gz
arm64: kconfig: allow CPU_BIG_ENDIAN to be selected
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>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 86ebfe4..bbb5d94 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -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
OpenPOWER on IntegriCloud