projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: yet another missing symbol for 2.6.32
[openwrt.git]
/
target
/
linux
/
brcm-2.4
/
files
/
arch
/
mips
/
bcm947xx
/
prom.c
diff --git
a/target/linux/brcm-2.4/files/arch/mips/bcm947xx/prom.c
b/target/linux/brcm-2.4/files/arch/mips/bcm947xx/prom.c
index
be628da
..
f635b4a
100644
(file)
--- a/
target/linux/brcm-2.4/files/arch/mips/bcm947xx/prom.c
+++ b/
target/linux/brcm-2.4/files/arch/mips/bcm947xx/prom.c
@@
-31,6
+31,15
@@
prom_init(int argc, const char **argv)
*(unsigned long *)(prom_init))
break;
}
*(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);
}
add_memory_region(0, mem, BOOT_MEM_RAM);
}
This page took
0.020413 seconds
and
4
git commands to generate.