diff options
author | Andrei Warkentin <andreiw@motorola.com> | 2011-05-23 15:06:38 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-05-25 16:49:03 -0400 |
commit | f0d89972b01798cf9d245dfa1cacfa0ee78a3593 (patch) | |
tree | a3e69fc95825971384798eac4281148db837f891 /include/linux/mmc | |
parent | e89d456fcdde2df008c032bf928e69e628e07a28 (diff) | |
download | kernel_samsung_aries-f0d89972b01798cf9d245dfa1cacfa0ee78a3593.zip kernel_samsung_aries-f0d89972b01798cf9d245dfa1cacfa0ee78a3593.tar.gz kernel_samsung_aries-f0d89972b01798cf9d245dfa1cacfa0ee78a3593.tar.bz2 |
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 'include/linux/mmc')
-rw-r--r-- | include/linux/mmc/card.h | 3 | ||||
-rw-r--r-- | include/linux/mmc/sd.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h index 4a0e27b..c6927a4 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h @@ -72,6 +72,9 @@ struct sd_scr { unsigned char bus_widths; #define SD_SCR_BUS_WIDTH_1 (1<<0) #define SD_SCR_BUS_WIDTH_4 (1<<2) + unsigned char cmds; +#define SD_SCR_CMD20_SUPPORT (1<<0) +#define SD_SCR_CMD23_SUPPORT (1<<1) }; struct sd_ssr { diff --git a/include/linux/mmc/sd.h b/include/linux/mmc/sd.h index c648878..7d35d52 100644 --- a/include/linux/mmc/sd.h +++ b/include/linux/mmc/sd.h @@ -66,7 +66,7 @@ #define SCR_SPEC_VER_0 0 /* Implements system specification 1.0 - 1.01 */ #define SCR_SPEC_VER_1 1 /* Implements system specification 1.10 */ -#define SCR_SPEC_VER_2 2 /* Implements system specification 2.00 */ +#define SCR_SPEC_VER_2 2 /* Implements system specification 2.00-3.0X */ /* * SD bus widths |