projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e845e07
)
Fix GPMC CS2 memory setup at apollon
author
Kyungmin Park
<kmpark@infradead.org>
Mon, 18 Feb 2008 05:35:43 +0000
(14:35 +0900)
committer
Wolfgang Denk
<wd@denx.de>
Fri, 22 Feb 2008 11:13:55 +0000
(12:13 +0100)
It disables the current map first
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
board/apollon/mem.c
patch
|
blob
|
history
diff --git
a/board/apollon/mem.c
b/board/apollon/mem.c
index
c0edca5
..
0211c6a
100644
(file)
--- 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 */