diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2013-05-28 21:34:50 +0100 |
---|---|---|
committer | Ben Dooks <ben.dooks@codethink.co.uk> | 2013-07-01 11:25:34 +0100 |
commit | 8c0b9e0be7ca3658404ff8e6fb24f43a98cad0ed (patch) | |
tree | ae2f627993322ed25dfa7fa19ba395e4de37c731 | |
parent | 66a1b4141bb4a10ea6d229129e64e53a21c0f9cd (diff) | |
download | linux-8c0b9e0be7ca3658404ff8e6fb24f43a98cad0ed.tar.gz |
vexpress: add big endian supportbaserock/311/be/core
Add support for the versatile express systems to boot big-endian.
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
-rw-r--r-- | arch/arm/mach-vexpress/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/plat-versatile/headsmp.S | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-vexpress/Kconfig b/arch/arm/mach-vexpress/Kconfig index 5907e10c37fd..fa69d4e12d0c 100644 --- a/arch/arm/mach-vexpress/Kconfig +++ b/arch/arm/mach-vexpress/Kconfig @@ -1,6 +1,7 @@ config ARCH_VEXPRESS bool "ARM Ltd. Versatile Express family" if ARCH_MULTI_V7 select ARCH_REQUIRE_GPIOLIB + select ARCH_SUPPORTS_BIG_ENDIAN select ARM_AMBA select ARM_GIC select ARM_TIMER_SP804 diff --git a/arch/arm/plat-versatile/headsmp.S b/arch/arm/plat-versatile/headsmp.S index b178d44e9eaa..4c5c8ca9f5d9 100644 --- a/arch/arm/plat-versatile/headsmp.S +++ b/arch/arm/plat-versatile/headsmp.S @@ -10,6 +10,7 @@ */ #include <linux/linkage.h> #include <linux/init.h> +#include <asm/assembler.h> __INIT @@ -19,6 +20,7 @@ * until we're ready for them to initialise. */ ENTRY(versatile_secondary_startup) + ARM_BE8(setend be) mrc p15, 0, r0, c0, c0, 5 bic r0, #0xff000000 adr r4, 1f |