diff options
Diffstat (limited to 'include/linux/mmc/mmc.h')
-rw-r--r-- | include/linux/mmc/mmc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mmc/mmc.h b/include/linux/mmc/mmc.h index b5ec88fd1352..390aa6eef676 100644 --- a/include/linux/mmc/mmc.h +++ b/include/linux/mmc/mmc.h | |||
@@ -255,6 +255,7 @@ struct _mmc_csd { | |||
255 | 255 | ||
256 | #define EXT_CSD_PARTITION_ATTRIBUTE 156 /* R/W */ | 256 | #define EXT_CSD_PARTITION_ATTRIBUTE 156 /* R/W */ |
257 | #define EXT_CSD_PARTITION_SUPPORT 160 /* RO */ | 257 | #define EXT_CSD_PARTITION_SUPPORT 160 /* RO */ |
258 | #define EXT_CSD_WR_REL_PARAM 166 /* RO */ | ||
258 | #define EXT_CSD_ERASE_GROUP_DEF 175 /* R/W */ | 259 | #define EXT_CSD_ERASE_GROUP_DEF 175 /* R/W */ |
259 | #define EXT_CSD_BOOT_CONFIG 179 /* R/W */ | 260 | #define EXT_CSD_BOOT_CONFIG 179 /* R/W */ |
260 | #define EXT_CSD_ERASED_MEM_CONT 181 /* RO */ | 261 | #define EXT_CSD_ERASED_MEM_CONT 181 /* RO */ |
@@ -265,6 +266,7 @@ struct _mmc_csd { | |||
265 | #define EXT_CSD_CARD_TYPE 196 /* RO */ | 266 | #define EXT_CSD_CARD_TYPE 196 /* RO */ |
266 | #define EXT_CSD_SEC_CNT 212 /* RO, 4 bytes */ | 267 | #define EXT_CSD_SEC_CNT 212 /* RO, 4 bytes */ |
267 | #define EXT_CSD_S_A_TIMEOUT 217 /* RO */ | 268 | #define EXT_CSD_S_A_TIMEOUT 217 /* RO */ |
269 | #define EXT_CSD_REL_WR_SEC_C 222 /* RO */ | ||
268 | #define EXT_CSD_HC_WP_GRP_SIZE 221 /* RO */ | 270 | #define EXT_CSD_HC_WP_GRP_SIZE 221 /* RO */ |
269 | #define EXT_CSD_ERASE_TIMEOUT_MULT 223 /* RO */ | 271 | #define EXT_CSD_ERASE_TIMEOUT_MULT 223 /* RO */ |
270 | #define EXT_CSD_HC_ERASE_GRP_SIZE 224 /* RO */ | 272 | #define EXT_CSD_HC_ERASE_GRP_SIZE 224 /* RO */ |
@@ -277,6 +279,8 @@ struct _mmc_csd { | |||
277 | * EXT_CSD field definitions | 279 | * EXT_CSD field definitions |
278 | */ | 280 | */ |
279 | 281 | ||
282 | #define EXT_CSD_WR_REL_PARAM_EN (1<<2) | ||
283 | |||
280 | #define EXT_CSD_CMD_SET_NORMAL (1<<0) | 284 | #define EXT_CSD_CMD_SET_NORMAL (1<<0) |
281 | #define EXT_CSD_CMD_SET_SECURE (1<<1) | 285 | #define EXT_CSD_CMD_SET_SECURE (1<<1) |
282 | #define EXT_CSD_CMD_SET_CPSECURE (1<<2) | 286 | #define EXT_CSD_CMD_SET_CPSECURE (1<<2) |