Commit 34a954b8 authored by Boris Schmidt's avatar Boris Schmidt Committed by Chris Ball
Browse files

mmc-utils: feature spec 5.0+, device life time estimation for MLC and pSLC mode


Signed-off-by: default avatarBoris Schmidt <boris.schmidt@siemens.com>
parent 2cb6695e
......@@ -61,6 +61,8 @@
#define EXT_CSD_NUM_OF_FW_SEC_PROG_2 304 /* RO */
#define EXT_CSD_NUM_OF_FW_SEC_PROG_1 303 /* RO */
#define EXT_CSD_NUM_OF_FW_SEC_PROG_0 302 /* RO */
#define EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B 269 /* RO */
#define EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A 268 /* RO */
#define EXT_CSD_FIRMWARE_VERSION 254 /* RO */
#define EXT_CSD_CACHE_SIZE_3 252
#define EXT_CSD_CACHE_SIZE_2 251
......
......@@ -1738,6 +1738,16 @@ int do_read_extcsd(int nargs, char **argv)
(char*)&ext_csd[EXT_CSD_FIRMWARE_VERSION]);
}
if (ext_csd_rev >= 7) {
printf("eMMC Life Time Estimation A [EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A]: 0x%02x\n",
ext_csd[EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A]);
}
if (ext_csd_rev >= 7) {
printf("eMMC Life Time Estimation B [EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B]: 0x%02x\n",
ext_csd[EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B]);
}
if (ext_csd_rev >= 8) {
printf("Command Queue Support [CMDQ_SUPPORT]: 0x%02x\n",
ext_csd[EXT_CSD_CMDQ_SUPPORT]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment