]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00139261-1 [esdhc]add 8 bit mode support para in platform data
authorTony Lin <tony.lin@freescale.com>
Thu, 11 Aug 2011 09:00:44 +0000 (17:00 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:09:28 +0000 (14:09 +0200)
set to 1 if the port on board supports 8 bit MMC card.
else set to 0

Signed-off-by: Tony Lin <tony.lin@freescale.com>
arch/arm/mach-mx6/board-mx6q_sabreauto.c
arch/arm/plat-mxc/include/mach/esdhc.h

index 21ae399018659535d3e43f1da5e0a3e5225f5770..80d769533c04a89bcff56a6afb3161a3e5631339 100644 (file)
@@ -241,11 +241,13 @@ static const struct esdhc_platform_data mx6q_sabreauto_sd3_data __initconst = {
        .cd_gpio = MX6Q_SABREAUTO_SD3_CD,
        .wp_gpio = MX6Q_SABREAUTO_SD3_WP,
        .support_18v = 1,
+       .support_8bit = 1,
 };
 
 /* No card detect signal for SD4 */
 static const struct esdhc_platform_data mx6q_sabreauto_sd4_data __initconst = {
        .always_present = 1,
+       .support_8bit = 1,
 };
 
 /* The GPMI is conflicted with SD3, so init this in the driver. */
index de64035c48469a9956192b160a3ad493c6144cfc..cb34cd82806980cb71b0f5b5c73d95780815742c 100644 (file)
@@ -24,5 +24,6 @@ struct esdhc_platform_data {
        unsigned int cd_gpio;
        unsigned int always_present;
        unsigned int support_18v;
+       unsigned int support_8bit;
 };
 #endif /* __ASM_ARCH_IMX_ESDHC_H */