Obviously missing brackets.

Signed-off-by: Xavi Drudis Ferran <xdrudis@tinet.cat>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5867 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Xavi Drudis Ferran 2010-09-27 21:08:40 +00:00 committed by Stefan Reinauer
parent 49a7ac7ee5
commit 7cdf1eca92
2 changed files with 5 additions and 4 deletions

View File

@ -633,7 +633,7 @@ static void HTMemMapInit_D(struct MCTStatStruc *pMCTstat,
devx = pDCTstat->dev_map;
if (pDCTstat->NodePresent) {
printk(BIOS_DEBUG, " Copy dram map from Node 0 to Node %02x \n", Node);
printk(BIOS_DEBUG, " Copy dram map from Node 0 to Node %02x \n", Node);
reg = 0x40; /*Dram Base 0*/
do {
val = Get_NB32(dev, reg);
@ -3774,11 +3774,11 @@ static void mct_BeforeDQSTrain_D(struct MCTStatStruc *pMCTstat,
for (Node = 0; Node < 8; Node++) {
pDCTstat = pDCTstatA + Node;
if (pDCTstat->NodePresent)
if (pDCTstat->NodePresent) {
mct_BeforeDQSTrain_Samp_D(pMCTstat, pDCTstat);
mct_ResetDLL_D(pMCTstat, pDCTstat, 0);
mct_ResetDLL_D(pMCTstat, pDCTstat, 1);
}
}
}

View File

@ -3516,10 +3516,11 @@ static void mct_BeforeDQSTrain_D(struct MCTStatStruc *pMCTstat,
for (Node = 0; Node < 8; Node++) {
pDCTstat = pDCTstatA + Node;
if (pDCTstat->NodePresent)
if (pDCTstat->NodePresent) {
mct_BeforeDQSTrainSamp(pDCTstat); /* only Bx */
mct_ResetDLL_D(pMCTstat, pDCTstat, 0);
mct_ResetDLL_D(pMCTstat, pDCTstat, 1);
}
}
}