RE: [PATCH 3/3] mmc-utils: Display STROBE_SUPPORT when printing EXT_CSD

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

 



> Support for Enhanced Strobe mode introduced in eMMC 5.1 JESD84-B51 can be
> determined via EXT_CSD[184]. Along with the identification of
> HS400 data rates added in commit 3969aa4804ed ("mmc_cmds: add HS400 data
> rates"), this allows to differentiate support for HS400/HS400ES.
> 
> Signed-off-by: Marius Strobl <marius@xxxxxxxxxxx>
Looks good to me.

Thanks,
Avri

> ---
>  mmc_cmds.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/mmc_cmds.c b/mmc_cmds.c
> index f024079..508ddad 100644
> --- a/mmc_cmds.c
> +++ b/mmc_cmds.c
> @@ -1628,6 +1628,9 @@ int do_read_extcsd(int nargs, char **argv)
>         printf("Power class [POWER_CLASS: 0x%02x]\n", ext_csd[187]);
>         printf("High-speed interface timing [HS_TIMING: 0x%02x]\n",
>                 ext_csd[185]);
> +       if (ext_csd_rev >= 8)
> +               printf("Enhanced Strobe mode [STROBE_SUPPORT: 0x%02x]\n",
> +                       ext_csd[184]);
>         /* bus_width: ext_csd[183] not readable */
>         printf("Erased memory content [ERASED_MEM_CONT: 0x%02x]\n",
>                 ext_csd[181]);
> --
> 2.31.1





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

  Powered by Linux