]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: mmc: Allow using partition name in mmc erase command
authorTomas Paukrt <tomaspaukrt@email.cz>
Mon, 2 Sep 2024 18:49:17 +0000 (20:49 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 16 Sep 2024 22:45:55 +0000 (16:45 -0600)
commit6c0943ff54ec27bf3c277767c2a9e1fb458e57a0
tree596a11bea788836926fb1aedef36d60aca726441
parent39aa94a5c372f9daaae3f4eb11c26cf900de2094
cmd: mmc: Allow using partition name in mmc erase command

The mmc erase command currently requires blk# and cnt parameters
which can be obtained using the part start and part size commands
if the entire partition needs to be erased.

Simplify the use of the mmc erase command by allowing the partition
name to be specified directly.

Signed-off-by: Tomas Paukrt <tomaspaukrt@email.cz>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
cmd/mmc.c
doc/usage/cmd/mmc.rst