From: TsiChung Liew Date: Mon, 17 Mar 2008 17:09:07 +0000 (-0500) Subject: ColdFire: Fix second memory Chipselect for M5475EVB X-Git-Tag: v1.3.3-rc1~113^2~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=77878f16cedee17161ff2336990970fffc6cea35;p=u-boot ColdFire: Fix second memory Chipselect for M5475EVB Signed-off-by: TsiChung Liew Acked-by: John Rigby --- diff --git a/board/freescale/m547xevb/m547xevb.c b/board/freescale/m547xevb/m547xevb.c index 0286084a8e..539da78de9 100644 --- a/board/freescale/m547xevb/m547xevb.c +++ b/board/freescale/m547xevb/m547xevb.c @@ -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;