mx51_3ds: Add esdhc support
authorFabio Estevam <fabioestevam@yahoo.com>
Wed, 3 Nov 2010 21:39:13 +0000 (14:39 -0700)
committerSascha Hauer <s.hauer@pengutronix.de>
Wed, 24 Nov 2010 09:08:47 +0000 (10:08 +0100)
Add support for esdhc on mx51_3ds board.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx5/Kconfig
arch/arm/mach-mx5/board-mx51_3ds.c

index 13602045df62a2656256db28bf9e992a5a55554c..14438426930fc78ed207b2a9361058510f93829f 100644 (file)
@@ -22,6 +22,7 @@ config MACH_MX51_BABBAGE
 
 config MACH_MX51_3DS
        bool "Support MX51PDK (3DS)"
+       select IMX_HAVE_PLATFORM_ESDHC
        select IMX_HAVE_PLATFORM_IMX_UART
        select IMX_HAVE_PLATFORM_SPI_IMX
        select MXC_DEBUG_BOARD
index ba5805f33adfb77d4d4cba126aed1e51d9fad584..02ef3d1da47746fda854339f2586b90a106b0170 100644 (file)
@@ -172,6 +172,7 @@ static void __init mxc_board_init(void)
                printk(KERN_WARNING "Init of the debugboard failed, all "
                                    "devices on the board are unusable.\n");
 
+       imx51_add_sdhci_esdhc_imx(0, NULL);
        mxc_init_keypad();
 }