root/trunk/patches/2.6.22/04-remove-gtwx5715-mach-id-hack.patch
| Revision 851, 1.0 KB (checked in by blaster8, 3 years ago) |
|---|
-
arch/arm/boot/compressed/head-xscale.S
If MACH_GTWX5715 is set in Kconfig, this code sets the mach id automatically. Howeber, this means that any IXP4xx kernel which is setup to support the gtwx5715 board will not successfully boot on any other board. If the bootloader sets the wrong mach id, it should be set correctly by a kernel shim. Signed-off-by: Michael-Luke Jones <mlj28@cam.ac.uk>
old new 41 41 mov r7, #MACH_TYPE_COTULLA_IDP 42 42 #endif 43 43 44 #ifdef CONFIG_MACH_GTWX571545 mov r7, #(MACH_TYPE_GTWX5715 & 0xff)46 orr r7, r7, #(MACH_TYPE_GTWX5715 & 0xff00)47 #endif48 49 44 #ifdef CONFIG_ARCH_IXP2000 50 45 mov r1, #-1 51 46 mov r0, #0xd6000000
Note: See TracBrowser
for help on using the browser.
