summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-versatile
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2013-05-28 22:34:50 +0200
committerBen Dooks <ben.dooks@codethink.co.uk>2013-10-19 21:46:34 +0200
commit98dec91fa36a4a74f7c44dd2dfb000203656f4f4 (patch)
tree9131b2b8a3ca37737d3e616edbf378541fd61123 /arch/arm/plat-versatile
parentARM: mvebu: support running big-endian (diff)
downloadlinux-98dec91fa36a4a74f7c44dd2dfb000203656f4f4.tar.xz
linux-98dec91fa36a4a74f7c44dd2dfb000203656f4f4.zip
ARM: vexpress: add big endian support
Add support for the versatile express systems to boot big-endian. Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Diffstat (limited to 'arch/arm/plat-versatile')
-rw-r--r--arch/arm/plat-versatile/headsmp.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-versatile/headsmp.S b/arch/arm/plat-versatile/headsmp.S
index 2677bc3762d7..40f27e52de75 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>
/*
* Realview/Versatile Express specific entry point for secondary CPUs.
@@ -17,6 +18,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