Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98dec91f authored by Ben Dooks's avatar Ben Dooks
Browse files

ARM: vexpress: add big endian support



Add support for the versatile express systems to boot big-endian.

Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
parent bca028e7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
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
+2 −0
Original line number Diff line number Diff line
@@ -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