diff options
author | Tony Lin <tony.lin@freescale.com> | 2011-08-11 17:00:44 +0800 |
---|---|---|
committer | Tony Lin <tony.lin@freescale.com> | 2011-08-11 17:34:22 +0800 |
commit | 50556afdcb30d454e9dec58a24ec9811952a71f2 (patch) | |
tree | 2f92b99875dde68c632303472031258ab6c42efc | |
parent | 6b1e75d1a5ca34ec4a18d43d09c8f557b559ffa5 (diff) |
ENGR00139261-1 [esdhc]add 8 bit mode support para in platform data
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>
-rw-r--r-- | arch/arm/mach-mx6/board-mx6q_sabreauto.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-mxc/include/mach/esdhc.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_sabreauto.c b/arch/arm/mach-mx6/board-mx6q_sabreauto.c index 21ae39901865..80d769533c04 100644 --- a/arch/arm/mach-mx6/board-mx6q_sabreauto.c +++ b/arch/arm/mach-mx6/board-mx6q_sabreauto.c @@ -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. */ diff --git a/arch/arm/plat-mxc/include/mach/esdhc.h b/arch/arm/plat-mxc/include/mach/esdhc.h index de64035c4846..cb34cd828069 100644 --- a/arch/arm/plat-mxc/include/mach/esdhc.h +++ b/arch/arm/plat-mxc/include/mach/esdhc.h @@ -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 */ |