summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/44x_spd_ddr.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-06-22 23:59:00 +0200
committerWolfgang Denk <wd@denx.de>2007-06-22 23:59:00 +0200
commit1636d1c8529c006d106287cfbc20cd0a246fe1cb (patch)
treecd39e784361c2bcef43cfc38d39b1670ce22d539 /cpu/ppc4xx/44x_spd_ddr.c
parent2dc64451b4c08ffd619372abfdc2506a2e2363b9 (diff)
downloadu-boot-imx-1636d1c8529c006d106287cfbc20cd0a246fe1cb.zip
u-boot-imx-1636d1c8529c006d106287cfbc20cd0a246fe1cb.tar.gz
u-boot-imx-1636d1c8529c006d106287cfbc20cd0a246fe1cb.tar.bz2
Coding stylke cleanup; rebuild CHANGELOG
Diffstat (limited to 'cpu/ppc4xx/44x_spd_ddr.c')
-rw-r--r--cpu/ppc4xx/44x_spd_ddr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/ppc4xx/44x_spd_ddr.c b/cpu/ppc4xx/44x_spd_ddr.c
index fe7bbab..e24cd81 100644
--- a/cpu/ppc4xx/44x_spd_ddr.c
+++ b/cpu/ppc4xx/44x_spd_ddr.c
@@ -1340,14 +1340,14 @@ static unsigned long program_bxcr(unsigned long *dimm_populated,
*/
cr |= SDRAM_BXCR_SDBE;
- for (i = 0; i < num_banks; i++) {
+ for (i = 0; i < num_banks; i++) {
bank_parms[ctrl_bank_num[dimm_num]+i].bank_size_bytes =
(4 << 20) * bank_size_id;
bank_parms[ctrl_bank_num[dimm_num]+i].cr = cr;
debug("DIMM%d-bank %d (SDRAM0_B%dCR): bank_size_bytes=%d\n",
dimm_num, i, ctrl_bank_num[dimm_num]+i,
bank_parms[ctrl_bank_num[dimm_num]+i].bank_size_bytes);
- }
+ }
}
}