From 7cdf1eca924d6eab6eb51982fc5d0769c8f1e58f Mon Sep 17 00:00:00 2001 From: Xavi Drudis Ferran Date: Mon, 27 Sep 2010 21:08:40 +0000 Subject: [PATCH] Obviously missing brackets. Signed-off-by: Xavi Drudis Ferran Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5867 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/amdmct/mct/mct_d.c | 6 +++--- src/northbridge/amd/amdmct/mct_ddr3/mct_d.c | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/northbridge/amd/amdmct/mct/mct_d.c b/src/northbridge/amd/amdmct/mct/mct_d.c index 402b5d93a5..7fd7fe5a7c 100644 --- a/src/northbridge/amd/amdmct/mct/mct_d.c +++ b/src/northbridge/amd/amdmct/mct/mct_d.c @@ -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); - + } } } diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mct_d.c b/src/northbridge/amd/amdmct/mct_ddr3/mct_d.c index 08677ad27b..4ef9c8100f 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mct_d.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mct_d.c @@ -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); + } } }