Complete the code which was missing.

Signed-off-by: Zheng Bao <zheng....@amd.com>


Index: src/northbridge/amd/amdmct/mct/mct_d.c
===================================================================
--- src/northbridge/amd/amdmct/mct/mct_d.c      (revision 5818)
+++ src/northbridge/amd/amdmct/mct/mct_d.c      (working copy)
@@ -2426,8 +2426,11 @@
 
                        val = Get_NB32(pDCTstat->dev_dct, 0x8C + (0x100
* dct));
                        val &= ~(1 << DisAutoRefresh);
+                       Set_NB32(pDCTstat->dev_dct, 0x8C + (0x100 *
dct), val);
                        val |= 1 << DisAutoRefresh;
+                       Set_NB32(pDCTstat->dev_dct, 0x8C + (0x100 *
dct), val);
                        val &= ~(1 << DisAutoRefresh);
+                       Set_NB32(pDCTstat->dev_dct, 0x8C + (0x100 *
dct), val);
                }
        }
 }

Attachment: amd_mct_fam10_fix.patch
Description: amd_mct_fam10_fix.patch

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to