Skip to content

Commit

Permalink
eukrea_mbimx27: use card detect through DAT3 for SDHC1
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
  • Loading branch information
Eric Bénard authored and Sascha Hauer committed Jul 26, 2010
1 parent 16b3bf8 commit e76a17c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion arch/arm/mach-mx2/eukrea_mbimx27-baseboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,10 @@ static struct platform_device *platform_devices[] __initdata = {
&leds_gpio,
};

static struct imxmmc_platform_data sdhc_pdata = {
.dat3_card_detect = 1,
};

/*
* system init for baseboard usage. Will be called by cpuimx27 init.
*
Expand All @@ -304,7 +308,7 @@ void __init eukrea_mbimx27_baseboard_init(void)
#endif

mxc_register_device(&mxc_fb_device, &eukrea_mbimx27_fb_data);
mxc_register_device(&mxc_sdhc_device0, NULL);
mxc_register_device(&mxc_sdhc_device0, &sdhc_pdata);

#if defined(CONFIG_TOUCHSCREEN_ADS7846) \
|| defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE)
Expand Down

0 comments on commit e76a17c

Please sign in to comment.