[coreboot] [PATCH]: Complete the code in amdmct

Bao, Zheng Zheng.Bao at amd.com
Tue Sep 21 03:53:04 CEST 2010


Complete the code which was missing.

Signed-off-by: Zheng Bao <zheng.bao at 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);
 		}
 	}
 }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: amd_mct_fam10_fix.patch
Type: application/octet-stream
Size: 696 bytes
Desc: amd_mct_fam10_fix.patch
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100921/46a17dd5/attachment.obj>


More information about the coreboot mailing list