diff options
author | Shawn Guo <shawn.gsc@gmail.com> | 2010-10-21 12:23:45 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-21 16:43:07 -0400 |
commit | 71e2889d9d8f2149f38bbeedfa6d9aefa0875ca6 (patch) | |
tree | e20fbd169337aac48d3a2bb5fb825b855e5e9119 /arch/arm/mach-mx25/mach-mx25_3ds.c | |
parent | 6207c833940dd9183719f6428099f389a2a7d98e (diff) |
mx25_3ds: add mmc support
Update mx25_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/arm/mach-mx25/mach-mx25_3ds.c')
-rw-r--r-- | arch/arm/mach-mx25/mach-mx25_3ds.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-mx25/mach-mx25_3ds.c b/arch/arm/mach-mx25/mach-mx25_3ds.c index bd1805698631..d3d83228cdb1 100644 --- a/arch/arm/mach-mx25/mach-mx25_3ds.c +++ b/arch/arm/mach-mx25/mach-mx25_3ds.c | |||
@@ -96,6 +96,14 @@ static struct pad_desc mx25pdk_pads[] = { | |||
96 | MX25_PAD_KPP_COL1__KPP_COL1, | 96 | MX25_PAD_KPP_COL1__KPP_COL1, |
97 | MX25_PAD_KPP_COL2__KPP_COL2, | 97 | MX25_PAD_KPP_COL2__KPP_COL2, |
98 | MX25_PAD_KPP_COL3__KPP_COL3, | 98 | MX25_PAD_KPP_COL3__KPP_COL3, |
99 | |||
100 | /* SD1 */ | ||
101 | MX25_PAD_SD1_CMD__SD1_CMD, | ||
102 | MX25_PAD_SD1_CLK__SD1_CLK, | ||
103 | MX25_PAD_SD1_DATA0__SD1_DATA0, | ||
104 | MX25_PAD_SD1_DATA1__SD1_DATA1, | ||
105 | MX25_PAD_SD1_DATA2__SD1_DATA2, | ||
106 | MX25_PAD_SD1_DATA3__SD1_DATA3, | ||
99 | }; | 107 | }; |
100 | 108 | ||
101 | static const struct fec_platform_data mx25_fec_pdata __initconst = { | 109 | static const struct fec_platform_data mx25_fec_pdata __initconst = { |
@@ -193,6 +201,8 @@ static void __init mx25pdk_init(void) | |||
193 | mx25pdk_fec_reset(); | 201 | mx25pdk_fec_reset(); |
194 | imx25_add_fec(&mx25_fec_pdata); | 202 | imx25_add_fec(&mx25_fec_pdata); |
195 | mxc_register_device(&mx25_kpp_device, &mx25pdk_keymap_data); | 203 | mxc_register_device(&mx25_kpp_device, &mx25pdk_keymap_data); |
204 | |||
205 | imx25_add_esdhc(0, NULL); | ||
196 | } | 206 | } |
197 | 207 | ||
198 | static void __init mx25pdk_timer_init(void) | 208 | static void __init mx25pdk_timer_init(void) |