s5pc110: aries: enable movinand power
authorMinkyu Kang <mk7.kang@samsung.com>
Thu, 28 Jan 2010 09:53:21 +0000 (18:53 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 28 Jan 2010 09:53:21 +0000 (18:53 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/universal/universal.c

index cd6140a..8a3e30f 100644 (file)
@@ -1879,6 +1879,10 @@ int board_mmc_init(bd_t *bis)
        struct s5pc110_clock *clk = (struct s5pc110_clock *)S5PC1XX_CLOCK_BASE;
        int i;
 
+       /* MASSMEMORY_EN: XMSMDATA7: GPJ2[7] output high */
+       if (machine_is_aquila() && board_is_aries())
+               gpio_direction_output(&s5pc110_gpio->gpio_j2, 7, 1);
+
        /* MMC0 Clock source = SCLKMPLL */
        reg = readl(&clk->src4);
        reg &= ~0xf;