openwrtv4/target/linux/ixp4xx/patches/900-no_loader_workaround.patch

21 lines
746 B
Diff
Raw Normal View History

Index: linux-2.6.21.7/arch/arm/boot/compressed/head-xscale.S
===================================================================
--- linux-2.6.21.7.orig/arch/arm/boot/compressed/head-xscale.S
+++ linux-2.6.21.7/arch/arm/boot/compressed/head-xscale.S
@@ -41,6 +41,7 @@ __XScale_start:
mov r7, #MACH_TYPE_COTULLA_IDP
#endif
+/* let the arm-magic.sh script do the dirty work
#ifdef CONFIG_MACH_GTWX5715
mov r7, #(MACH_TYPE_GTWX5715 & 0xff)
orr r7, r7, #(MACH_TYPE_GTWX5715 & 0xff00)
@@ -50,6 +51,7 @@ __XScale_start:
mov r7, #(MACH_TYPE_GATEWAY7001 & 0xff)
orr r7, r7, #(MACH_TYPE_GATEWAY7001 & 0xff00)
#endif
+ */
#ifdef CONFIG_ARCH_IXP2000
mov r1, #-1