]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: mmc: Add mmc reg read command for reading card registers
authorMarek Vasut <marex@denx.de>
Tue, 31 Oct 2023 12:20:17 +0000 (13:20 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 1 Nov 2023 01:09:21 +0000 (10:09 +0900)
commitb5f403936d037e0bc08e78b8af64adf53da13b90
tree56be5dcdd139e0a1e199ce3d7e69239fe96bb810
parent21c84bb1112695f9bd49379f7e32c251b55a3cad
cmd: mmc: Add mmc reg read command for reading card registers

Add extension to the 'mmc' command to read out the card registers.
Currently, only the eMMC OCR/CID/CSD/EXTCSD/RCA/DSR register are
supported. A register value can either be displayed or read into
an environment variable.

Tested-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
cmd/Kconfig
cmd/mmc.c
doc/usage/cmd/mmc.rst