Commit 51434a7a authored by Stephane Fillod's avatar Stephane Fillod Committed by Ulf Hansson
Browse files

Fix parsing of Product Revision and Serial Number



According to MMC Standard (similar to SDCard Standard).
Signed-off-by: default avatarStephane Fillod <f8cfe@free.fr>
Acked-by: default avatarAvri Altman <avri.altman@wdc.com>
Link: https://lore.kernel.org/r/1823652044.3512532.1547484650178.JavaMail.root@zimbra64-e11.priv.proxad.net

Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 520f54eb
......@@ -562,7 +562,7 @@ void print_mmc_cid(struct config *config, char *cid)
unsigned int crc;
parse_bin(cid, "8u6r2u8u48a4u4u32u4u4u7u1r",
&mid, &cbx, &oid, &pnm[0], &psn, &prv_major, &prv_minor,
&mid, &cbx, &oid, &pnm[0], &prv_major, &prv_minor, &psn,
&mdt_year, &mdt_month, &crc);
pnm[6] = '\0';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment