summaryrefslogtreecommitdiff
path: root/include/sdhci.h
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2013-07-19 17:44:49 +0900
committerPantelis Antoniou <panto@antoniou-consulting.com>2013-09-17 20:03:43 +0300
commit113e5dfcd77cfef4a1719c9a6ba3933c2ef06320 (patch)
treeb479c3e364ab4834305547c70d6796a277038786 /include/sdhci.h
parent46ef4faed18196472eb95216b2f74c1397ecf024 (diff)
downloadu-boot-imx-113e5dfcd77cfef4a1719c9a6ba3933c2ef06320.zip
u-boot-imx-113e5dfcd77cfef4a1719c9a6ba3933c2ef06320.tar.gz
u-boot-imx-113e5dfcd77cfef4a1719c9a6ba3933c2ef06320.tar.bz2
mmc: sdhci: use the SDHCI_QUIRK_USE_WIDE8 for samsung SoC
Samsung SoC is supported the WIDE8, even if Controller version is v2.0. So add the SDHCI_QUIRK_USE_WIDE8 for Samsung-SoC. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Diffstat (limited to 'include/sdhci.h')
-rw-r--r--include/sdhci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sdhci.h b/include/sdhci.h
index b18b873..74d06ae 100644
--- a/include/sdhci.h
+++ b/include/sdhci.h
@@ -192,6 +192,8 @@
#define SDHCI_SPEC_200 1
#define SDHCI_SPEC_300 2
+#define SDHCI_GET_VERSION(x) (x->version & SDHCI_SPEC_VER_MASK)
+
/*
* End of controller registers.
*/
@@ -210,6 +212,7 @@
#define SDHCI_QUIRK_NO_CD (1 << 5)
#define SDHCI_QUIRK_WAIT_SEND_CMD (1 << 6)
#define SDHCI_QUIRK_NO_SIMULT_VDD_AND_POWER (1 << 7)
+#define SDHCI_QUIRK_USE_WIDE8 (1 << 8)
/* to make gcc happy */
struct sdhci_host;