Author: rminnich
Date: 2006-09-18 06:23:23 +0200 (Mon, 18 Sep 2006)
New Revision: 2419

Modified:
   trunk/LinuxBIOSv2/src/northbridge/amd/gx2/raminit.c
Log:
A fix for hynix dram problems seen at 366/244


Modified: trunk/LinuxBIOSv2/src/northbridge/amd/gx2/raminit.c
===================================================================
--- trunk/LinuxBIOSv2/src/northbridge/amd/gx2/raminit.c 2006-09-15 23:14:37 UTC 
(rev 2418)
+++ trunk/LinuxBIOSv2/src/northbridge/amd/gx2/raminit.c 2006-09-18 04:23:23 UTC 
(rev 2419)
@@ -85,6 +85,14 @@
        /* load RDSYNC */
        msr = rdmsr(0x2000001f);
        msr.hi = 0x000ff310;
+       /* the above setting is supposed to be good for "slow" ram. We have 
found that for 
+        * some dram, at some clock rates, e.g. hynix at 366/244, this will 
actually 
+        * cause errors. The fix is to just set it to 0x310. Tested on 3 boards
+        * with 3 different type of dram -- Hynix, PSC, infineon. 
+        * I am leaving this comment here so that at some future time nobody is 
tempted
+        * to mess with this setting -- RGM, 9/2006
+        */
+       msr.hi = 0x00000310;
        msr.lo = 0x00000000;
        wrmsr(0x2000001f, msr);
 


-- 
linuxbios mailing list
[email protected]
http://www.openbios.org/mailman/listinfo/linuxbios

Reply via email to