Skip to contentSkip to conversation

mmc-utils: recognize ext_csd_rev 9

PATCH In review [email protected] 2 participants 2 messages Dec 21, 2025 – Dec 30, 2025 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc-utils: recognize ext_csd_rev 9

From: Avri Altman <[email protected]>

JEDEC JESD84-B51B, released in September 2025, increments the Extended CSD Revision (EXT_CSD_REV) index to 9. Thus, update the read_extcsd command to recognize this new revision value.

---
 mmc_cmds.c | 1 +
 1 file changed, 1 insertion(+)
mmc_cmds.c +1 -0
index 5990502..fbf8e7d 100644
@@ -1524,6 +1524,7 @@ int do_read_extcsd(int nargs, char **argv)
 	ext_csd_rev = ext_csd[EXT_CSD_REV];
 
 	switch (ext_csd_rev) {
+	case 9:
 	case 8:
 		str = "5.1";
 		break;
Signature · 1 line
2.34.1
#1 lore raw
Quoted 8 lines · On Sun, 21 Dec 2025 at 09:12, <[email protected]> wrote:

From: Avri Altman <[email protected]>

JEDEC JESD84-B51B, released in September 2025, increments the Extended CSD Revision (EXT_CSD_REV) index to 9. Thus, update the read_extcsd command to recognize this new revision value.

Applied for mmc-utils master, thanks!

Kind regards
Uffe

Quoted 19 lines
---
 mmc_cmds.c | 1 +
 1 file changed, 1 insertion(+)
mmc_cmds.c +1 -1
index 5990502..fbf8e7d 100644
@@ -1524,6 +1524,7 @@ int do_read_extcsd(int nargs, char **argv)
        ext_csd_rev = ext_csd[EXT_CSD_REV];
 
        switch (ext_csd_rev) {
+       case 9:
        case 8:
                str = "5.1";
                break;
--

2.34.1