Fix GPMC CS2 memory setup at apollon
It disables the current map first Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
This commit is contained in:
parent
e845e07e1e
commit
98ba144ccc
|
@ -198,6 +198,8 @@ void gpmc_init(void)
|
||||||
sdelay(2000);
|
sdelay(2000);
|
||||||
|
|
||||||
/* setup cs2 */
|
/* setup cs2 */
|
||||||
|
__raw_writel(0x0, GPMC_CONFIG7_2); /* disable current map */
|
||||||
|
sdelay(1000);
|
||||||
__raw_writel(APOLLON_24XX_GPMC_CONFIG1_0 | mux | mtype | mwidth,
|
__raw_writel(APOLLON_24XX_GPMC_CONFIG1_0 | mux | mtype | mwidth,
|
||||||
GPMC_CONFIG1_2);
|
GPMC_CONFIG1_2);
|
||||||
/* It's same as cs 0 */
|
/* It's same as cs 0 */
|
||||||
|
|
Loading…
Reference in New Issue