From: Kyungmin Park Date: Mon, 18 Feb 2008 05:35:43 +0000 (+0900) Subject: Fix GPMC CS2 memory setup at apollon X-Git-Tag: v1.3.2-rc2~22 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=98ba144ccc912eee90dd42699f023c497ce774c6;p=u-boot Fix GPMC CS2 memory setup at apollon It disables the current map first Signed-off-by: Kyungmin Park --- diff --git a/board/apollon/mem.c b/board/apollon/mem.c index c0edca56e1..0211c6ad2e 100644 --- a/board/apollon/mem.c +++ b/board/apollon/mem.c @@ -198,6 +198,8 @@ void gpmc_init(void) sdelay(2000); /* setup cs2 */ + __raw_writel(0x0, GPMC_CONFIG7_2); /* disable current map */ + sdelay(1000); __raw_writel(APOLLON_24XX_GPMC_CONFIG1_0 | mux | mtype | mwidth, GPMC_CONFIG1_2); /* It's same as cs 0 */