diff options
author | Kyungmin Park <kyungmin.park@samsung.com> | 2011-10-14 01:15:48 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-10-26 16:32:26 -0400 |
commit | d9ddd62943ee07a75d0428ffcf52f1a747a28c39 (patch) | |
tree | e4fb8b0b2ba2fe39bf725762b2c04441f1adf3b8 /include/linux/mmc/mmc.h | |
parent | 4e0a5adf46ee7810af2e1b7e4e8c2a298652618e (diff) |
mmc: core: mmc sanitize feature support for v4.5
In the v4.5, there's no secure erase & trim support.
Instead it supports the sanitize feature.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/mmc/mmc.h')
-rw-r--r-- | include/linux/mmc/mmc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mmc/mmc.h b/include/linux/mmc/mmc.h index 02e9e3de9609..8a05a21fc7c3 100644 --- a/include/linux/mmc/mmc.h +++ b/include/linux/mmc/mmc.h | |||
@@ -275,6 +275,7 @@ struct _mmc_csd { | |||
275 | #define EXT_CSD_PARTITION_ATTRIBUTE 156 /* R/W */ | 275 | #define EXT_CSD_PARTITION_ATTRIBUTE 156 /* R/W */ |
276 | #define EXT_CSD_PARTITION_SUPPORT 160 /* RO */ | 276 | #define EXT_CSD_PARTITION_SUPPORT 160 /* RO */ |
277 | #define EXT_CSD_RST_N_FUNCTION 162 /* R/W */ | 277 | #define EXT_CSD_RST_N_FUNCTION 162 /* R/W */ |
278 | #define EXT_CSD_SANITIZE_START 165 /* W */ | ||
278 | #define EXT_CSD_WR_REL_PARAM 166 /* RO */ | 279 | #define EXT_CSD_WR_REL_PARAM 166 /* RO */ |
279 | #define EXT_CSD_ERASE_GROUP_DEF 175 /* R/W */ | 280 | #define EXT_CSD_ERASE_GROUP_DEF 175 /* R/W */ |
280 | #define EXT_CSD_PART_CONFIG 179 /* R/W */ | 281 | #define EXT_CSD_PART_CONFIG 179 /* R/W */ |
@@ -343,6 +344,7 @@ struct _mmc_csd { | |||
343 | #define EXT_CSD_SEC_ER_EN BIT(0) | 344 | #define EXT_CSD_SEC_ER_EN BIT(0) |
344 | #define EXT_CSD_SEC_BD_BLK_EN BIT(2) | 345 | #define EXT_CSD_SEC_BD_BLK_EN BIT(2) |
345 | #define EXT_CSD_SEC_GB_CL_EN BIT(4) | 346 | #define EXT_CSD_SEC_GB_CL_EN BIT(4) |
347 | #define EXT_CSD_SEC_SANITIZE BIT(6) /* v4.5 only */ | ||
346 | 348 | ||
347 | #define EXT_CSD_RST_N_EN_MASK 0x3 | 349 | #define EXT_CSD_RST_N_EN_MASK 0x3 |
348 | #define EXT_CSD_RST_N_ENABLED 1 /* RST_n is enabled on card */ | 350 | #define EXT_CSD_RST_N_ENABLED 1 /* RST_n is enabled on card */ |