summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-01-23 14:19:45 +0100
committerWolfgang Denk <wd@denx.de>2008-01-23 14:19:45 +0100
commit8f00731818f0f0deaca899bde56de98d3d95c0b6 (patch)
treec20b13ba953ec3a0af0564ee7f79d151e6ff934a /cpu
parented3afca32e1b28e441bc9f4b804edac47686554e (diff)
parent9cfff9e9d4d9dbb9bb428cea3fa2cda3b3e593ad (diff)
downloadu-boot-imx-8f00731818f0f0deaca899bde56de98d3d95c0b6.zip
u-boot-imx-8f00731818f0f0deaca899bde56de98d3d95c0b6.tar.gz
u-boot-imx-8f00731818f0f0deaca899bde56de98d3d95c0b6.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ppc4xx/44x_spd_ddr2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/ppc4xx/44x_spd_ddr2.c b/cpu/ppc4xx/44x_spd_ddr2.c
index 3ac2cdc..3bafea3 100644
--- a/cpu/ppc4xx/44x_spd_ddr2.c
+++ b/cpu/ppc4xx/44x_spd_ddr2.c
@@ -387,9 +387,9 @@ long int initdram(int board_type)
unsigned char spd1[MAX_SPD_BYTES];
unsigned char *dimm_spd[MAXDIMMS];
unsigned long dimm_populated[MAXDIMMS];
- unsigned long num_dimm_banks; /* on board dimm banks */
+ unsigned long num_dimm_banks; /* on board dimm banks */
unsigned long val;
- ddr_cas_id_t selected_cas;
+ ddr_cas_id_t selected_cas = DDR_CAS_5; /* preset to silence compiler */
int write_recovery;
unsigned long dram_size = 0;