summaryrefslogtreecommitdiff
path: root/src/mainboard/olpc
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2006-05-12 18:42:34 +0000
committerRonald G. Minnich <rminnich@gmail.com>2006-05-12 18:42:34 +0000
commit6084160f2de64cf937f4aab37c17f56f579a4d9a (patch)
treeb3a5cd5a6a6a51ea99c266d34dba21ebbbb6540e /src/mainboard/olpc
parent437f28ece937933d10f853e30227021f89c5b5ea (diff)
downloadcoreboot-6084160f2de64cf937f4aab37c17f56f579a4d9a.tar.xz
memory size in cf07
goodrich pll code disable havedmi git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2303 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/olpc')
-rw-r--r--src/mainboard/olpc/rev_a/auto.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/olpc/rev_a/auto.c b/src/mainboard/olpc/rev_a/auto.c
index 65c87103c1..1e11ec0081 100644
--- a/src/mainboard/olpc/rev_a/auto.c
+++ b/src/mainboard/olpc/rev_a/auto.c
@@ -94,6 +94,10 @@ static void sdram_set_spd_registers(const struct mem_controller *ctrl)
print_debug_hex32(msr.hi);
print_debug("\r\n");
+ /* for OLPC, set default size */
+ /* dimm size - hardcoded 128Mb */
+// msr.hi &= ~(0xf << CF07_UPPER_D0_SZ_SHIFT);
+// msr.hi |= (5 << CF07_UPPER_D0_SZ_SHIFT);
/* this is a standard value, DOES NOT PROBABLY MATCH FROM ABOVE */
/* well, it may be close. It's about 200,000 ticks */