diff options
author | Manuel Lauss <manuel.lauss@googlemail.com> | 2009-10-14 09:38:06 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-02-27 12:53:19 +0100 |
commit | 3b839070f11295735ce8d9ef580c5eb23417aabf (patch) | |
tree | f5a466669cea7e172d260c319601b9e1522d01ac /arch | |
parent | 92bbe1b988d3d6fa6348e3e376ff6d27e0712147 (diff) | |
download | linux-3b839070f11295735ce8d9ef580c5eb23417aabf.tar.gz linux-3b839070f11295735ce8d9ef580c5eb23417aabf.tar.bz2 linux-3b839070f11295735ce8d9ef580c5eb23417aabf.zip |
MMC: AU1xMMC: Allow platforms to disable host capabilities
Although the hardware supports a 4/8bit SD interface and the driver
unconditionally advertises all hardware caps to the MMC core, not all
datalines may actually be wired up. This patch introduces another
field to au1xmmc platform data allowing platforms to disable certain
advanced host controller features.
Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
To: linux-mmc@vger.kernel.org
CC: Linux-MIPS <linux-mips@linux-mips.org>
Patchwork: http://patchwork.linux-mips.org/patch/460/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/include/asm/mach-au1x00/au1100_mmc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-au1x00/au1100_mmc.h b/arch/mips/include/asm/mach-au1x00/au1100_mmc.h index 58fbe173ecde..94000a3b6f0b 100644 --- a/arch/mips/include/asm/mach-au1x00/au1100_mmc.h +++ b/arch/mips/include/asm/mach-au1x00/au1100_mmc.h @@ -46,6 +46,7 @@ struct au1xmmc_platform_data { int(*card_readonly)(void *mmc_host); void(*set_power)(void *mmc_host, int state); struct led_classdev *led; + unsigned long mask_host_caps; }; #define SD0_BASE 0xB0600000 |