From 3c30f3b97167dae992601188fbffd066522d1981 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 9 Feb 2012 14:09:56 +0100 Subject: mci i.MX esdhc: make 8bit modes platform dependent Whether the controller works in 8bit mode is not only dependent on the controller but also on the board having wired up 8 data lines, so put a capabilities field in platform data. Signed-off-by: Sascha Hauer --- arch/arm/mach-imx/include/mach/esdhc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/arm/mach-imx/include/mach/esdhc.h') diff --git a/arch/arm/mach-imx/include/mach/esdhc.h b/arch/arm/mach-imx/include/mach/esdhc.h index aaf97481f4..b4c1aa9ebe 100644 --- a/arch/arm/mach-imx/include/mach/esdhc.h +++ b/arch/arm/mach-imx/include/mach/esdhc.h @@ -32,6 +32,7 @@ enum cd_types { * @cd_gpio: gpio for card_detect interrupt * @wp_type: type of write_protect method (see wp_types enum above) * @cd_type: type of card_detect method (see cd_types enum above) + * @caps: supported bus width capabilities (MMC_MODE_4BIT | MMC_MODE_8BIT) */ struct esdhc_platform_data { @@ -39,5 +40,6 @@ struct esdhc_platform_data { unsigned int cd_gpio; enum wp_types wp_type; enum cd_types cd_type; + unsigned caps; }; #endif /* __ASM_ARCH_IMX_ESDHC_H */ -- cgit v1.2.3