]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
SMDK5250: Enable UART and MMC for Exynos5250 Rev 1.0
authorRajeshwari Shinde <rajeshwari.s@samsung.com>
Tue, 3 Jul 2012 20:03:00 +0000 (20:03 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:23 +0000 (14:58 +0200)
This patch sets UART3 and MMC channle 0 for Exynos5250 Rev 1.0

Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/smdk5250/smdk5250.c
include/configs/smdk5250.h

index fae7d6f0ed64325071becb758647129f6aef3e66..a5816e445c80308f9843728c6ea64428088d03fb 100644 (file)
@@ -131,13 +131,13 @@ int board_mmc_init(bd_t *bis)
 {
        int err;
 
-       err = exynos_pinmux_config(PERIPH_ID_SDMMC2, PINMUX_FLAG_NONE);
+       err = exynos_pinmux_config(PERIPH_ID_SDMMC0, PINMUX_FLAG_8BIT_MODE);
        if (err) {
-               debug("SDMMC2 not configured\n");
+               debug("SDMMC0 not configured\n");
                return err;
        }
 
-       err = s5p_mmc_init(2, 4);
+       err = s5p_mmc_init(0, 8);
        return err;
 }
 #endif
index 5e326865e8123653578f5d281cbc7a154f540e4a..47369aa939e9e32ed4ea03e4b0e02a85cb5e4916 100644 (file)
@@ -69,7 +69,7 @@
 
 /* select serial console configuration */
 #define CONFIG_SERIAL_MULTI
-#define CONFIG_SERIAL1                 /* use SERIAL 1 */
+#define CONFIG_SERIAL3                 /* use SERIAL 3 */
 #define CONFIG_BAUDRATE                        115200
 #define EXYNOS5_DEFAULT_UART_OFFSET    0x010000