source: trunk/target/linux/brcm47xx/patches-2.6.32/170-128MB_ram_bugfix.patch @ 19062

Last change on this file since 19062 was 19062, checked in by mb, 6 years ago

bcm47xx: Add basic 2.6.32 support.

File size: 433 bytes
  • arch/mips/bcm47xx/prom.c

    a b static __init void prom_init_mem(void) 
    141141                        break; 
    142142        } 
    143143 
     144        /* Ignoring the last page when ddr size is 128M. Cached 
     145         * accesses to last page is causing the processor to prefetch 
     146         * using address above 128M stepping out of the ddr address 
     147         * space. 
     148         */ 
     149        if (mem == 0x8000000) 
     150                mem -= 0x1000; 
     151 
    144152        add_memory_region(0, mem, BOOT_MEM_RAM); 
    145153} 
    146154 
Note: See TracBrowser for help on using the repository browser.