Complete the code which was missing.
Signed-off-by: Zheng Bao <zheng.bao@amd.com> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5822 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
951a0feb2d
commit
0c51ddd98b
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user