summaryrefslogtreecommitdiff
path: root/board/apollon
diff options
context:
space:
mode:
authorKyungmin Park <kmpark@infradead.org>2008-02-18 14:35:43 +0900
committerWolfgang Denk <wd@denx.de>2008-02-22 12:13:55 +0100
commit98ba144ccc912eee90dd42699f023c497ce774c6 (patch)
treee2fd5eb473f39a8cd05b3f632fabc43401bd9eb6 /board/apollon
parente845e07e1e6e64f40e35688439d3cdcf01cfff4f (diff)
downloadu-boot-98ba144ccc912eee90dd42699f023c497ce774c6.tar.gz
u-boot-98ba144ccc912eee90dd42699f023c497ce774c6.tar.bz2
u-boot-98ba144ccc912eee90dd42699f023c497ce774c6.zip
Fix GPMC CS2 memory setup at apollon
It disables the current map first Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'board/apollon')
-rw-r--r--board/apollon/mem.c2
1 files changed, 2 insertions, 0 deletions
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 */