mmc: sdhci-sirf: fix 8bit width enable by overwriting set_bus_width
authorMinda Chen <Minda.Chen@csr.com>
Tue, 26 Aug 2014 02:50:42 +0000 (10:50 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:59:19 +0000 (13:59 +0200)
commit1ba4c322caaecfb68c1e175599398caef946a525
treea8fc06637bde974299cef883e19195d4166922c0
parent0173055842cd1d9ed3984e70891c22dbf2f29372
mmc: sdhci-sirf: fix 8bit width enable by overwriting set_bus_width

the implementation of CSR SDHCI controller is a modified version of
the one described in the 1.0 specification, and not a normal 3.0
controller.
and 8bit-width enable bit of CSR MMC hosts is 3, while stardard hosts
use bit 5.
this patch fixes the functionality of 8bit transfer in mmc controllers
and improve performance for mmc0 a lot.

Signed-off-by: Minda Chen <Minda.Chen@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Reviewed-by: Romain Izard <romain.izard.pro@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-sirf.c