Re: [PATCH 1/2] mmc-utils: feature spec 5.0+, Pre EOL information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20 March 2017 at 12:07, Alexander Stein
<alexander.stein@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Signed-off-by: Alexander Stein <alexander.stein@xxxxxxxxxxxxxxxxxxxxx>

Alexander, Chris Ball is the maintainer of mmc-utils. I think you
should re-post and make sure he is on the to list.

Kind regards
Uffe

> ---
>  mmc.h      | 1 +
>  mmc_cmds.c | 5 +++++
>  2 files changed, 6 insertions(+)
>
> diff --git a/mmc.h b/mmc.h
> index f3fa03f..fa49df6 100644
> --- a/mmc.h
> +++ b/mmc.h
> @@ -63,6 +63,7 @@
>  #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_PRE_EOL_INFO           267     /* RO */
>  #define EXT_CSD_FIRMWARE_VERSION       254     /* RO */
>  #define EXT_CSD_CACHE_SIZE_3           252
>  #define EXT_CSD_CACHE_SIZE_2           251
> diff --git a/mmc_cmds.c b/mmc_cmds.c
> index 0e4322e..728ad77 100644
> --- a/mmc_cmds.c
> +++ b/mmc_cmds.c
> @@ -1748,6 +1748,11 @@ int do_read_extcsd(int nargs, char **argv)
>                         ext_csd[EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B]);
>         }
>
> +       if (ext_csd_rev >= 7) {
> +               printf("eMMC Pre EOL information [EXT_CSD_PRE_EOL_INFO]: 0x%02x\n",
> +                       ext_csd[EXT_CSD_PRE_EOL_INFO]);
> +       }
> +
>         if (ext_csd_rev >= 8) {
>                 printf("Command Queue Support [CMDQ_SUPPORT]: 0x%02x\n",
>                        ext_csd[EXT_CSD_CMDQ_SUPPORT]);
> --
> 2.10.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux