From 77878f16cedee17161ff2336990970fffc6cea35 Mon Sep 17 00:00:00 2001 From: TsiChung Liew Date: Mon, 17 Mar 2008 12:09:07 -0500 Subject: [PATCH] ColdFire: Fix second memory Chipselect for M5475EVB Signed-off-by: TsiChung Liew Acked-by: John Rigby --- board/freescale/m547xevb/m547xevb.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.25.1