e54e3de4098d92e531c30f34cd4da27cc9c867ee
[openwrt.git] / target / linux / brcm47xx / patches-2.6.28 / 170-128MB_ram_bugfix.patch
1 --- a/arch/mips/bcm47xx/prom.c
2 +++ b/arch/mips/bcm47xx/prom.c
3 @@ -141,6 +141,14 @@ static __init void prom_init_mem(void)
4 break;
5 }
6
7 + /* Ignoring the last page when ddr size is 128M. Cached
8 + * accesses to last page is causing the processor to prefetch
9 + * using address above 128M stepping out of the ddr address
10 + * space.
11 + */
12 + if (mem == 0x8000000)
13 + mem -= 0x1000;
14 +
15 add_memory_region(0, mem, BOOT_MEM_RAM);
16 }
17
This page took 0.03988 seconds and 3 git commands to generate.