summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2014-04-18 12:28:32 +0530
committerIshan Mittal <imittal@nvidia.com>2014-04-30 11:39:17 +0530
commitc9fca811c008855e41af0a68586e4100a37308da (patch)
tree05e5f6c1a62e08d07104c86d2cac26d591d1e72f
parent325c03bd045953c656abd8e26e350fee74348c74 (diff)
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. (cherry picked from commit a872013d6d03ab63736a01dcd9747580be3a6b70) Change-Id: I71aed977b2abbed3c44d395063a0e2f911fc2dfc Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
-rw-r--r--arch/arm64/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 16e27667a4f3..90518aec737f 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -195,6 +195,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