[xburst] Fix image generation for qi_lb60 subtarget
[openwrt.git] / target / linux / brcm-2.4 / files / arch / mips / bcm947xx / prom.c
index be628da..f635b4a 100644 (file)
@@ -31,6 +31,15 @@ prom_init(int argc, const char **argv)
                    *(unsigned long *)(prom_init))
                        break;
        }
+
+       /* Ignoring the last page when ddr size is 128M. Cached
+        * accesses to last page is causing the processor to prefetch
+        * using address above 128M stepping out of the ddr address
+        * space.
+        */
+       if (mem == 0x8000000)
+               mem -= 0x1000;
+
        add_memory_region(0, mem, BOOT_MEM_RAM);
 }
 
This page took 0.024392 seconds and 4 git commands to generate.