cmd: part: Add subcommand to list supported partition tables
authorNiel Fourie <lusus@denx.de>
Tue, 24 Mar 2020 15:17:03 +0000 (16:17 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 7 Jul 2020 19:22:42 +0000 (15:22 -0400)
commit0ffdfbd1d0eca769878913d15f232c9219cf2aa1
tree61c6ebad8c31b303aa34a531ddc75702a5ccba68
parent1e88e78177da80fa8e9fa9fc7613657478d61d1e
cmd: part: Add subcommand to list supported partition tables

Add a subcommand "types" to the part command, which lists the supported
partition table types.

Signed-off-by: Niel Fourie <lusus@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/part.c
test/py/tests/test_part.py [new file with mode: 0644]