Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

Ben Dooks 98dec91f bca028e7

+3
+1
arch/arm/mach-vexpress/Kconfig
··· 1 1 config ARCH_VEXPRESS 2 2 bool "ARM Ltd. Versatile Express family" if ARCH_MULTI_V7 3 3 select ARCH_REQUIRE_GPIOLIB 4 + select ARCH_SUPPORTS_BIG_ENDIAN 4 5 select ARM_AMBA 5 6 select ARM_GIC 6 7 select ARM_TIMER_SP804
+2
arch/arm/plat-versatile/headsmp.S
··· 10 10 */ 11 11 #include <linux/linkage.h> 12 12 #include <linux/init.h> 13 + #include <asm/assembler.h> 13 14 14 15 /* 15 16 * Realview/Versatile Express specific entry point for secondary CPUs. ··· 18 17 * until we're ready for them to initialise. 19 18 */ 20 19 ENTRY(versatile_secondary_startup) 20 + ARM_BE8(setend be) 21 21 mrc p15, 0, r0, c0, c0, 5 22 22 bic r0, #0xff000000 23 23 adr r4, 1f