diff options
author | Andrei Warkentin <andreiw@motorola.com> | 2011-05-23 16:06:38 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-05-25 16:49:03 -0400 |
commit | f0d89972b01798cf9d245dfa1cacfa0ee78a3593 (patch) | |
tree | a3e69fc95825971384798eac4281148db837f891 /drivers/mmc/core | |
parent | e89d456fcdde2df008c032bf928e69e628e07a28 (diff) |
mmc: core: Block CMD23 support for UHS104/SDXC cards.
SD cards operating at UHS104 or better support SET_BLOCK_COUNT.
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Reviewed-by: Arindam Nath <arindam.nath@amd.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core')
-rw-r--r-- | drivers/mmc/core/sd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c index 596d0b9d30b..ff2774128aa 100644 --- a/drivers/mmc/core/sd.c +++ b/drivers/mmc/core/sd.c | |||
@@ -203,6 +203,8 @@ static int mmc_decode_scr(struct mmc_card *card) | |||
203 | else | 203 | else |
204 | card->erased_byte = 0x0; | 204 | card->erased_byte = 0x0; |
205 | 205 | ||
206 | if (scr->sda_spec3) | ||
207 | scr->cmds = UNSTUFF_BITS(resp, 32, 2); | ||
206 | return 0; | 208 | return 0; |
207 | } | 209 | } |
208 | 210 | ||