From 0c51ddd98b6355e4f070ff13766cd1e75b77037c Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Tue, 21 Sep 2010 02:51:31 +0000 Subject: Complete the code which was missing. Signed-off-by: Zheng Bao Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5822 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/amdmct/mct/mct_d.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/northbridge') diff --git a/src/northbridge/amd/amdmct/mct/mct_d.c b/src/northbridge/amd/amdmct/mct/mct_d.c index 4233705241..402b5d93a5 100644 --- a/src/northbridge/amd/amdmct/mct/mct_d.c +++ b/src/northbridge/amd/amdmct/mct/mct_d.c @@ -2426,8 +2426,11 @@ static void mct_DramInit(struct MCTStatStruc *pMCTstat, 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); } } } -- cgit v1.2.3