aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/dw_mmc.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/dw_mmc.c
parentbd47c13583f2c4bbd29914063d2bf3a98fcdf5cb (diff)
downloadu-boot-5a20397b007e9c1482997cf4418639e9ba3df5fe.zip
u-boot-5a20397b007e9c1482997cf4418639e9ba3df5fe.tar.gz
u-boot-5a20397b007e9c1482997cf4418639e9ba3df5fe.tar.bz2
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/dw_mmc.c')
-rw-r--r--drivers/mmc/dw_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c
index 76fa0b0..53a8aca 100644
--- a/drivers/mmc/dw_mmc.c
+++ b/drivers/mmc/dw_mmc.c
@@ -388,7 +388,7 @@ int add_dwmci(struct dwmci_host *host, u32 max_clk, u32 min_clk)
host->cfg.host_caps |= MMC_MODE_4BIT;
host->cfg.host_caps &= ~MMC_MODE_8BIT;
}
- host->cfg.host_caps |= MMC_MODE_HS | MMC_MODE_HS_52MHz | MMC_MODE_HC;
+ host->cfg.host_caps |= MMC_MODE_HS | MMC_MODE_HS_52MHz;
host->cfg.b_max = CONFIG_SYS_MMC_MAX_BLK_COUNT;