summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-tegra.c
diff options
context:
space:
mode:
authorPhilip Rakity <prakity@marvell.com>2011-05-24 18:14:58 -0700
committerChris Ball <cjb@laptop.org>2011-05-25 16:52:32 -0400
commit08ee80cc397ac1a306ca689a22ede954d92d0db1 (patch)
treeb36819e6b52c9fd939dd6c886af734cb6ccbc45f /drivers/mmc/host/sdhci-tegra.c
parent4f3d3e9b50931a3ec70f324d53fb7437e2a39388 (diff)
downloadblackbird-op-linux-08ee80cc397ac1a306ca689a22ede954d92d0db1.tar.gz
blackbird-op-linux-08ee80cc397ac1a306ca689a22ede954d92d0db1.zip
mmc: core: eMMC bus width may not work on all platforms
CMD19 -- The offical way to validate bus widths from the JEDEC spec does not work on all platforms. Some platforms that use PCI/PCIe to connect their SD controllers are known to fail. If the quirk MMC_BUS_WIDTH_TEST is not defined we try to figure out the bus width by reading the ext_csd at different bus widths and compare this against the ext_csd read in 1 bit mode. If no ext_csd is available we default to 1 bit operations. Code has been tested on mmp2 against 8 bit eMMC and Transcend 2GB card that is known to not work in 4 bit mode. The physical pins on the card are not present to support 4 bit operation. Signed-off-by: Philip Rakity <prakity@marvell.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-tegra.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud