]> git.sur5r.net Git - u-boot/commitdiff
ColdFire: Fix second memory Chipselect for M5475EVB
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>
Mon, 17 Mar 2008 17:09:07 +0000 (12:09 -0500)
committerTsiChung Liew <Tsi-Chung.Liew@freescale.com>
Mon, 31 Mar 2008 20:17:10 +0000 (15:17 -0500)
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Acked-by: John Rigby <jrigby@freescale.com>
board/freescale/m547xevb/m547xevb.c

index 0286084a8eeaa3fab82535ddd7df6d414e38aa1c..539da78de984782b161574ab1afea1ea2fb63265 100644 (file)
@@ -43,6 +43,9 @@ long int initdram(int board_type)
        volatile siu_t *siu = (siu_t *) (MMAP_SIU);
        volatile sdram_t *sdram = (volatile sdram_t *)(MMAP_SDRAM);
        u32 dramsize, i;
+#ifdef CFG_DRAMSZ1
+       u32 temp;
+#endif
 
        siu->drv = CFG_SDRAM_DRVSTRENGTH;