summaryrefslogtreecommitdiff
path: root/include/sdhci.h
diff options
context:
space:
mode:
authorBenedikt Grassl <Benedikt.Grassl@rohde-schwarz.com>2020-04-14 07:32:12 +0200
committerMichal Simek <michal.simek@xilinx.com>2020-04-27 13:53:13 +0200
commit942b5fc03218d1c94468fc658e7dec65dabcc830 (patch)
tree011d1c7a66ea82a65c3ff20307470cb88239d8bb /include/sdhci.h
parentd202f67db0771247de562af5d6a5df778702857b (diff)
mmc: zynq: parse dt when probing
Currently, the entry "bus-width = <8>" in the ZynqMP's sdhci nodes is not evaluated. This results in the bus width staying at its default value (4 bit in HS200 mode). Fix this by calling mmc_of_parse. This function also checks for the "no-1-8-v" and "max-frequency" entries. Remove the handling of those nodes from this driver. Signed-off-by: Benedikt Grassl <Benedikt.Grassl@rohde-schwarz.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/sdhci.h')
-rw-r--r--include/sdhci.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sdhci.h b/include/sdhci.h
index aa4378fd57..0ef8c2ed62 100644
--- a/include/sdhci.h
+++ b/include/sdhci.h
@@ -243,7 +243,6 @@
#define SDHCI_QUIRK_BROKEN_HISPD_MODE BIT(5)
#define SDHCI_QUIRK_WAIT_SEND_CMD (1 << 6)
#define SDHCI_QUIRK_USE_WIDE8 (1 << 8)
-#define SDHCI_QUIRK_NO_1_8_V (1 << 9)
/* to make gcc happy */
struct sdhci_host;