mmc-utils: Display STROBE_SUPPORT when printing EXT_CSD

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 3969aa4804 ("mmc_cmds: add HS400
data rates"), this allows to differentiate support for HS400/HS400ES.

Signed-off-by: Marius Strobl <marius@FreeBSD.org>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Link: https://lore.kernel.org/r/20220205205647.7677-3-marius@FreeBSD.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
Marius Strobl 2022-02-05 20:56:47 +00:00 committed by Ulf Hansson
parent 118dc4a090
commit 4637a7c0df

View File

@ -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]);