diff options
author | Eric Bénard <eric@eukrea.com> | 2010-05-19 12:46:05 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-07-26 08:17:47 -0400 |
commit | e76a17c2d9c7f91d3ee6469568535189e1c201ca (patch) | |
tree | d793a95b8c38056bb5133c1f35c9cf805609df2a | |
parent | 16b3bf8c85a5dc821eea7f9bb48d13b32f42f7ee (diff) |
eukrea_mbimx27: use card detect through DAT3 for SDHC1
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/mach-mx2/eukrea_mbimx27-baseboard.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-mx2/eukrea_mbimx27-baseboard.c b/arch/arm/mach-mx2/eukrea_mbimx27-baseboard.c index 385abd100002..3bb94e84efc3 100644 --- a/arch/arm/mach-mx2/eukrea_mbimx27-baseboard.c +++ b/arch/arm/mach-mx2/eukrea_mbimx27-baseboard.c | |||
@@ -286,6 +286,10 @@ static struct platform_device *platform_devices[] __initdata = { | |||
286 | &leds_gpio, | 286 | &leds_gpio, |
287 | }; | 287 | }; |
288 | 288 | ||
289 | static struct imxmmc_platform_data sdhc_pdata = { | ||
290 | .dat3_card_detect = 1, | ||
291 | }; | ||
292 | |||
289 | /* | 293 | /* |
290 | * system init for baseboard usage. Will be called by cpuimx27 init. | 294 | * system init for baseboard usage. Will be called by cpuimx27 init. |
291 | * | 295 | * |
@@ -304,7 +308,7 @@ void __init eukrea_mbimx27_baseboard_init(void) | |||
304 | #endif | 308 | #endif |
305 | 309 | ||
306 | mxc_register_device(&mxc_fb_device, &eukrea_mbimx27_fb_data); | 310 | mxc_register_device(&mxc_fb_device, &eukrea_mbimx27_fb_data); |
307 | mxc_register_device(&mxc_sdhc_device0, NULL); | 311 | mxc_register_device(&mxc_sdhc_device0, &sdhc_pdata); |
308 | 312 | ||
309 | #if defined(CONFIG_TOUCHSCREEN_ADS7846) \ | 313 | #if defined(CONFIG_TOUCHSCREEN_ADS7846) \ |
310 | || defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE) | 314 | || defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE) |