summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-01-15 10:11:02 +0100
committerStefan Roese <sr@denx.de>2008-01-15 10:11:02 +0100
commit9adfc9fb9ade64cdf1ed9ff842e4f900cbda78bd (patch)
treea4bb0df16f8311c7c3abcd078432e12c2021f885 /cpu/ppc4xx
parent17bef68097ab3692500a36fb31115bff7910aa99 (diff)
downloadu-boot-imx-9adfc9fb9ade64cdf1ed9ff842e4f900cbda78bd.zip
u-boot-imx-9adfc9fb9ade64cdf1ed9ff842e4f900cbda78bd.tar.gz
u-boot-imx-9adfc9fb9ade64cdf1ed9ff842e4f900cbda78bd.tar.bz2
ppc4xx: Remove compiler warning in cpu/ppc4xx/44x_spd_ddr2.c
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu/ppc4xx')
-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;