cmd/mmc: fix output of mmc info for e-MMC
authorMax Merchel <Max.Merchel@tq-group.com>
Thu, 10 Feb 2022 09:16:39 +0000 (10:16 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 16 Mar 2022 07:40:57 +0000 (16:40 +0900)
commit84191f73847c351019bb50728d28220d91b0aee4
tree4293fe56d131aae977f204e41792c7987e5362c0
parent925f6900c8f51f2b9d4c5cd389be51c19121e974
cmd/mmc: fix output of mmc info for e-MMC

e-MMC and SD standards differ for some CID fields:

- 6 Byte Name - assigned by Manufacturer (SD 5 Byte)
- 1 Byte OEM - assigned by Jedec  (SD 2 Byte)

See e-MMC standard (JEDEC Standard No. 84-B51), 7.2.3 (OID) and 7.2.4 (PNM)

Signed-off-by: Max Merchel <Max.Merchel@tq-group.com>
Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
cmd/mmc.c