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)

Update SVN to 2.6.22-rc3 with new patches

  • 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  
    4141                mov     r7, #MACH_TYPE_COTULLA_IDP 
    4242#endif 
    4343 
    44 #ifdef  CONFIG_MACH_GTWX5715 
    45                mov     r7, #(MACH_TYPE_GTWX5715 & 0xff) 
    46                orr     r7, r7, #(MACH_TYPE_GTWX5715 & 0xff00) 
    47 #endif 
    48  
    4944#ifdef CONFIG_ARCH_IXP2000 
    5045                mov     r1, #-1 
    5146                mov     r0, #0xd6000000 
Note: See TracBrowser for help on using the browser.