rtl8366_smi: move chip specific stuff into its own struct
[openwrt.git] / target / linux / brcm47xx / patches-2.6.31 / 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.048603 seconds and 5 git commands to generate.