summaryrefslogtreecommitdiffstats
path: root/drivers/tc
diff options
context:
space:
mode:
authorSubhash Jadavani <subhashj@codeaurora.org>2011-08-10 11:16:01 +0530
committerChris Ball <cjb@laptop.org>2011-10-26 16:32:30 -0400
commitf2815f68dabbb373fd1c9f0fd4a609d486697c2b (patch)
treebdc1bdb815bee031434e4ea95e18029822c56b8f /drivers/tc
parenteb0d8f135b6730d6d0324a064664d121334290e7 (diff)
downloadlinux-stable-f2815f68dabbb373fd1c9f0fd4a609d486697c2b.tar.gz
linux-stable-f2815f68dabbb373fd1c9f0fd4a609d486697c2b.tar.bz2
linux-stable-f2815f68dabbb373fd1c9f0fd4a609d486697c2b.zip
mmc: sd: Handle SD3.0 cards not supporting UHS-I bus speed mode
Here is Essential conditions to indicate Version 3.00 Card (SD_SPEC=2 and SD_SPEC3=1) : (1) The card shall support CMD6 (2) The card shall support CMD8 (3) The card shall support CMD42 (4) User area capacity shall be up to 2GB (SDSC) or 32GB (SDHC) User area capacity shall be more than or equal to 32GB and up to 2TB (SDXC) (5) Speed Class shall be supported (SDHC or SDXC) So even if SD card doesn't support any of the newly defined UHS-I bus speed mode, it can advertise itself as SD3.0 cards as long as it supports all the essential conditions of SD3.0 cards. Given this, these type of cards should atleast run in High Speed mode @50MHZ if it supports HS. But current initialization sequence for SD3.0 cards is such that these non-UHS-I SD3.0 cards runs in Default Speed mode @25MHz. This patch makes sure that these non-UHS-I SD3.0 cards run in High Speed Mode @50MHz. Tested this patch with SanDisk Extreme SDHC 8GB Class 10 card. Reported-by: "Hiremath, Vaibhav" <hvaibhav@ti.com> Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/tc')
0 files changed, 0 insertions, 0 deletions