]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ppc4xx: Remove compiler warning in cpu/ppc4xx/44x_spd_ddr2.c
authorStefan Roese <sr@denx.de>
Tue, 15 Jan 2008 09:11:02 +0000 (10:11 +0100)
committerStefan Roese <sr@denx.de>
Tue, 15 Jan 2008 09:11:02 +0000 (10:11 +0100)
Signed-off-by: Stefan Roese <sr@denx.de>
cpu/ppc4xx/44x_spd_ddr2.c

index 3ac2cdcf7f469f7126309f4105c6fc3b88adf776..3bafea3a95834b37e6a83e4f103c0f93b831cccb 100644 (file)
@@ -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;