ppc4xx: Remove compiler warning in cpu/ppc4xx/44x_spd_ddr2.c

Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
Stefan Roese 2008-01-15 10:11:02 +01:00
parent 17bef68097
commit 9adfc9fb9a

View File

@ -387,9 +387,9 @@ long int initdram(int board_type)
unsigned char spd1[MAX_SPD_BYTES]; unsigned char spd1[MAX_SPD_BYTES];
unsigned char *dimm_spd[MAXDIMMS]; unsigned char *dimm_spd[MAXDIMMS];
unsigned long dimm_populated[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; 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; int write_recovery;
unsigned long dram_size = 0; unsigned long dram_size = 0;