From: Marius Strobl <marius@FreeBSD.org>
To: linux-mmc@vger.kernel.org
Cc: Avri Altman <avri.altman@wdc.com>,
Ulf Hansson <ulf.hansson@linaro.org>,
Marius Strobl <marius@FreeBSD.org>
Subject: [PATCH 3/3] mmc-utils: Display STROBE_SUPPORT when printing EXT_CSD
Date: Sat, 5 Feb 2022 20:56:47 +0000 [thread overview]
Message-ID: <20220205205647.7677-3-marius@FreeBSD.org> (raw)
In-Reply-To: <20220205205647.7677-1-marius@FreeBSD.org>
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@FreeBSD.org>
---
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
next prev parent reply other threads:[~2022-02-05 20:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-05 20:56 [PATCH 1/3] mmc-utils: manpage: Document -c option for partitioning commands Marius Strobl
2022-02-05 20:56 ` [PATCH 2/3] mmc-utils: Remove unused MMC_BLOCK_MAJOR Marius Strobl
2022-02-06 7:48 ` Avri Altman
2022-02-05 20:56 ` Marius Strobl [this message]
2022-02-06 7:49 ` [PATCH 3/3] mmc-utils: Display STROBE_SUPPORT when printing EXT_CSD Avri Altman
2022-02-06 7:47 ` [PATCH 1/3] mmc-utils: manpage: Document -c option for partitioning commands Avri Altman
2022-02-08 15:18 ` Ulf Hansson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220205205647.7677-3-marius@FreeBSD.org \
--to=marius@freebsd.org \
--cc=avri.altman@wdc.com \
--cc=linux-mmc@vger.kernel.org \
--cc=ulf.hansson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox