aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorShawn Guo <shawn.gsc@gmail.com>2010-10-21 12:23:44 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-21 16:42:34 -0400
commit6207c833940dd9183719f6428099f389a2a7d98e (patch)
tree89af1a2f321ba9372d514742bb0e6c9c68d1b812 /arch
parent7223066c3bd927c47673d21fd5e4774b7c4d8346 (diff)
mx35_3ds: add mmc support
Update mx35_3ds board support to register esdhc device Signed-off-by: Shawn Guo <shawn.gsc@gmail.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mx3/Kconfig1
-rw-r--r--arch/arm/mach-mx3/mach-mx35_3ds.c8
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/Kconfig b/arch/arm/mach-mx3/Kconfig
index 096fd33f8ab9..f50b489aa109 100644
--- a/arch/arm/mach-mx3/Kconfig
+++ b/arch/arm/mach-mx3/Kconfig
@@ -145,6 +145,7 @@ config MACH_MX35_3DS
145 select ARCH_MX35 145 select ARCH_MX35
146 select IMX_HAVE_PLATFORM_IMX_UART 146 select IMX_HAVE_PLATFORM_IMX_UART
147 select IMX_HAVE_PLATFORM_MXC_NAND 147 select IMX_HAVE_PLATFORM_MXC_NAND
148 select IMX_HAVE_PLATFORM_ESDHC
148 default n 149 default n
149 help 150 help
150 Include support for MX35PDK platform. This includes specific 151 Include support for MX35PDK platform. This includes specific
diff --git a/arch/arm/mach-mx3/mach-mx35_3ds.c b/arch/arm/mach-mx3/mach-mx35_3ds.c
index 91bb06552af1..f0277c293f1a 100644
--- a/arch/arm/mach-mx3/mach-mx35_3ds.c
+++ b/arch/arm/mach-mx3/mach-mx35_3ds.c
@@ -108,6 +108,13 @@ static struct pad_desc mx35pdk_pads[] = {
108 /* USBH1 */ 108 /* USBH1 */
109 MX35_PAD_I2C2_CLK__USB_TOP_USBH2_PWR, 109 MX35_PAD_I2C2_CLK__USB_TOP_USBH2_PWR,
110 MX35_PAD_I2C2_DAT__USB_TOP_USBH2_OC, 110 MX35_PAD_I2C2_DAT__USB_TOP_USBH2_OC,
111 /* SDCARD */
112 MX35_PAD_SD1_CMD__ESDHC1_CMD,
113 MX35_PAD_SD1_CLK__ESDHC1_CLK,
114 MX35_PAD_SD1_DATA0__ESDHC1_DAT0,
115 MX35_PAD_SD1_DATA1__ESDHC1_DAT1,
116 MX35_PAD_SD1_DATA2__ESDHC1_DAT2,
117 MX35_PAD_SD1_DATA3__ESDHC1_DAT3,
111}; 118};
112 119
113/* OTG config */ 120/* OTG config */
@@ -140,6 +147,7 @@ static void __init mxc_board_init(void)
140 mxc_register_device(&mxc_usbh1, &usb_host_pdata); 147 mxc_register_device(&mxc_usbh1, &usb_host_pdata);
141 148
142 imx35_add_mxc_nand(&mx35pdk_nand_board_info); 149 imx35_add_mxc_nand(&mx35pdk_nand_board_info);
150 imx35_add_esdhc(0, NULL);
143} 151}
144 152
145static void __init mx35pdk_timer_init(void) 153static void __init mx35pdk_timer_init(void)