提交 98dec91f 编写于 作者: B Ben Dooks

ARM: vexpress: add big endian support

Add support for the versatile express systems to boot big-endian.
Signed-off-by: NBen Dooks <ben.dooks@codethink.co.uk>
上级 bca028e7
config ARCH_VEXPRESS config ARCH_VEXPRESS
bool "ARM Ltd. Versatile Express family" if ARCH_MULTI_V7 bool "ARM Ltd. Versatile Express family" if ARCH_MULTI_V7
select ARCH_REQUIRE_GPIOLIB select ARCH_REQUIRE_GPIOLIB
select ARCH_SUPPORTS_BIG_ENDIAN
select ARM_AMBA select ARM_AMBA
select ARM_GIC select ARM_GIC
select ARM_TIMER_SP804 select ARM_TIMER_SP804
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
*/ */
#include <linux/linkage.h> #include <linux/linkage.h>
#include <linux/init.h> #include <linux/init.h>
#include <asm/assembler.h>
/* /*
* Realview/Versatile Express specific entry point for secondary CPUs. * Realview/Versatile Express specific entry point for secondary CPUs.
...@@ -17,6 +18,7 @@ ...@@ -17,6 +18,7 @@
* until we're ready for them to initialise. * until we're ready for them to initialise.
*/ */
ENTRY(versatile_secondary_startup) ENTRY(versatile_secondary_startup)
ARM_BE8(setend be)
mrc p15, 0, r0, c0, c0, 5 mrc p15, 0, r0, c0, c0, 5
bic r0, #0xff000000 bic r0, #0xff000000
adr r4, 1f adr r4, 1f
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册