summaryrefslogtreecommitdiffstats
path: root/include/sdhci.h
diff options
context:
space:
mode:
authorAjay Bhargav <ajay.bhargav@einfochips.com>2011-11-13 23:43:12 +0000
committerAndy Fleming <afleming@freescale.com>2011-11-25 17:43:05 -0600
commit5af9a56999c3c7ec827447d0b957e3e234f5d9a4 (patch)
treed08219d7cfdc7b39a2bb76e85a8bdd5c29faf7c7 /include/sdhci.h
parentfdbe8b9a2d1858ba35dd6214315563ad44d4a0e3 (diff)
downloadtalos-obmc-uboot-5af9a56999c3c7ec827447d0b957e3e234f5d9a4.tar.gz
talos-obmc-uboot-5af9a56999c3c7ec827447d0b957e3e234f5d9a4.zip
mmc: mv_sdhci: Fix host version read for Armada100
sdhci_readw does not work for host version read in Armada100 series SoCs. This patch fix this issue by making a sdhci_readl call to get host version. Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
Diffstat (limited to 'include/sdhci.h')
-rw-r--r--include/sdhci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sdhci.h b/include/sdhci.h
index 0690938046..800f9d9c07 100644
--- a/include/sdhci.h
+++ b/include/sdhci.h
@@ -215,6 +215,7 @@
* quirks
*/
#define SDHCI_QUIRK_32BIT_DMA_ADDR (1 << 0)
+#define SDHCI_QUIRK_REG32_RW (1 << 1)
/* to make gcc happy */
struct sdhci_host;
OpenPOWER on IntegriCloud