summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/mxsmmc.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2015-03-23 17:56:59 -0500
committerPantelis Antoniou <pantelis.antoniou@konsulko.com>2015-05-05 12:29:36 +0300
commit5a20397b007e9c1482997cf4418639e9ba3df5fe (patch)
tree033c44d29fdf78cc0dd1719066da0308fcc627a2 /drivers/mmc/mxsmmc.c
parentbd47c13583f2c4bbd29914063d2bf3a98fcdf5cb (diff)
downloadtalos-obmc-uboot-5a20397b007e9c1482997cf4418639e9ba3df5fe.tar.gz
talos-obmc-uboot-5a20397b007e9c1482997cf4418639e9ba3df5fe.zip
mmc: remove the MMC_MODE_HC flag
High capacity support is not a host capability, but a device capability that is queried via the OCR. The flag in the operating conditions request argument can just be set unconditionally. This matches the Linux implementation. [panto] Hand merged and renumbering MMC_MODE_DDR_52MHz. Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Diffstat (limited to 'drivers/mmc/mxsmmc.c')
-rw-r--r--drivers/mmc/mxsmmc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/mxsmmc.c b/drivers/mmc/mxsmmc.c
index 2fa4eeef44..31fb3abc9c 100644
--- a/drivers/mmc/mxsmmc.c
+++ b/drivers/mmc/mxsmmc.c
@@ -405,8 +405,7 @@ int mxsmmc_initialize(bd_t *bis, int id, int (*wp)(int), int (*cd)(int))
priv->cfg.voltages = MMC_VDD_32_33 | MMC_VDD_33_34;
priv->cfg.host_caps = MMC_MODE_4BIT | MMC_MODE_8BIT |
- MMC_MODE_HS_52MHz | MMC_MODE_HS |
- MMC_MODE_HC;
+ MMC_MODE_HS_52MHz | MMC_MODE_HS;
/*
* SSPCLK = 480 * 18 / 29 / 1 = 297.731 MHz
OpenPOWER on IntegriCloud