ARM: imx53_loco: add esdhc device support
authorRichard Zhu <Hong-Xing.Zhu@freescale.com>
Mon, 28 Feb 2011 11:32:02 +0000 (19:32 +0800)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 7 Mar 2011 18:29:20 +0000 (19:29 +0100)
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx5/Kconfig
arch/arm/mach-mx5/board-mx53_loco.c

index f065a0d..a72c833 100644 (file)
@@ -162,6 +162,7 @@ config MACH_MX53_LOCO
        select IMX_HAVE_PLATFORM_IMX2_WDT
        select IMX_HAVE_PLATFORM_IMX_I2C
        select IMX_HAVE_PLATFORM_IMX_UART
+       select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
        help
          Include support for MX53 LOCO platform. This includes specific
          configurations for the board and its peripherals.
index 160899e..0a18f8d 100644 (file)
@@ -213,6 +213,8 @@ static void __init mx53_loco_board_init(void)
        imx53_add_imx2_wdt(0, NULL);
        imx53_add_imx_i2c(0, &mx53_loco_i2c_data);
        imx53_add_imx_i2c(1, &mx53_loco_i2c_data);
+       imx53_add_sdhci_esdhc_imx(0, NULL);
+       imx53_add_sdhci_esdhc_imx(2, NULL);
 }
 
 static void __init mx53_loco_timer_init(void)