aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/mmc/protocol.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mmc/protocol.h b/include/linux/mmc/protocol.h
index 311b6547f561..45c51fd85786 100644
--- a/include/linux/mmc/protocol.h
+++ b/include/linux/mmc/protocol.h
@@ -256,6 +256,7 @@ struct _mmc_csd {
256 * EXT_CSD fields 256 * EXT_CSD fields
257 */ 257 */
258 258
259#define EXT_CSD_BUS_WIDTH 183 /* R/W */
259#define EXT_CSD_HS_TIMING 185 /* R/W */ 260#define EXT_CSD_HS_TIMING 185 /* R/W */
260#define EXT_CSD_CARD_TYPE 196 /* RO */ 261#define EXT_CSD_CARD_TYPE 196 /* RO */
261 262
@@ -270,6 +271,10 @@ struct _mmc_csd {
270#define EXT_CSD_CARD_TYPE_26 (1<<0) /* Card can run at 26MHz */ 271#define EXT_CSD_CARD_TYPE_26 (1<<0) /* Card can run at 26MHz */
271#define EXT_CSD_CARD_TYPE_52 (1<<1) /* Card can run at 52MHz */ 272#define EXT_CSD_CARD_TYPE_52 (1<<1) /* Card can run at 52MHz */
272 273
274#define EXT_CSD_BUS_WIDTH_1 0 /* Card is in 1 bit mode */
275#define EXT_CSD_BUS_WIDTH_4 1 /* Card is in 4 bit mode */
276#define EXT_CSD_BUS_WIDTH_8 2 /* Card is in 8 bit mode */
277
273/* 278/*
274 * MMC_SWITCH access modes 279 * MMC_SWITCH access modes
275 */ 280 */