summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/mmc-omap.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-10-15 23:10:33 +0400
committerTony Lindgren <tony@atomide.com>2012-10-15 23:10:33 +0400
commit53db20d123f7a1bf44e46b727775403672655fde (patch)
tree5fc1d05f02eff332a4c45f7e6d38c38611c36f3b /include/linux/platform_data/mmc-omap.h
parent68f39e74fbc3e58ad52d008072bddacc9eee1c7e (diff)
downloadlinux-53db20d123f7a1bf44e46b727775403672655fde.tar.xz
mmc: omap: Remove cpu_is_omap usage from the driver
This is needed for the ARM common zImage support. We can use the existing slot features to pass omap1 specific options to the driver. For omap2 we don't want to pass anything new as that will be eventually moved to use device tree based init. Note that this patch depends on earlier patch that moves plat/mmc.h into include/linux/platform_data. Cc: linux-mmc@vger.kernel.org Cc: Venkatraman S <svenkatr@ti.com> Acked-by: Chris Ball <cjb@laptop.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/linux/platform_data/mmc-omap.h')
-rw-r--r--include/linux/platform_data/mmc-omap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/platform_data/mmc-omap.h b/include/linux/platform_data/mmc-omap.h
index 39a7abc5604c..2bf6ea82ff94 100644
--- a/include/linux/platform_data/mmc-omap.h
+++ b/include/linux/platform_data/mmc-omap.h
@@ -107,6 +107,9 @@ struct omap_mmc_platform_data {
/* we can put the features above into this variable */
#define HSMMC_HAS_PBIAS (1 << 0)
#define HSMMC_HAS_UPDATED_RESET (1 << 1)
+#define MMC_OMAP7XX (1 << 2)
+#define MMC_OMAP15XX (1 << 3)
+#define MMC_OMAP16XX (1 << 4)
unsigned features;
int switch_pin; /* gpio (card detect) */