From 61083dad0f03af10192ab65ebb0a2af98b9af8a4 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Tue, 18 Apr 2006 21:34:32 +0000 Subject: add back in missing line git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2258 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/olpc/rev_a/auto.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/mainboard/olpc/rev_a/auto.c b/src/mainboard/olpc/rev_a/auto.c index ea86d34497..17ded0dc97 100644 --- a/src/mainboard/olpc/rev_a/auto.c +++ b/src/mainboard/olpc/rev_a/auto.c @@ -94,6 +94,9 @@ static void sdram_set_spd_registers(const struct mem_controller *ctrl) print_debug_hex32(msr.hi); print_debug("\r\n"); + + /* this is a standard value, DOES NOT PROBABLY MATCH FROM ABOVE */ + /* well, it may be close. It's about 200,000 ticks */ msr.lo = 0x00003000; wrmsr(MC_CF07_DATA, msr); @@ -103,16 +106,17 @@ static void sdram_set_spd_registers(const struct mem_controller *ctrl) /* per standard bios settings */ + msr.hi = 0x18000108; msr.lo = - (6<<28) | // cas_lat - (10<<24)| // ref2act - (7<<20)| // act2pre - (3<<16)| // pre2act - (3<<12)| // act2cmd + (6<<28) | // cas_lat + (10<<24)| // ref2act + (7<<20)| // act2pre + (3<<16)| // pre2act + (3<<12)| // act2cmd (2<<8)| // act2act (2<<6)| // dplwr (2<<4)| // dplrd - (3); // dal + (3); // dal wrmsr(0x20000019, msr); -- cgit v1.2.3