]> git.dujemihanovic.xyz Git - u-boot.git/commit
part: Allow setting the partition-table type
authorSimon Glass <sjg@chromium.org>
Sun, 16 Jul 2023 03:38:47 +0000 (21:38 -0600)
committerBin Meng <bmeng@tinylab.org>
Mon, 17 Jul 2023 09:12:06 +0000 (17:12 +0800)
commit125194e6a136f2a3ef49d443f139b44a04e1bb9e
tree3c8948421454cfa9b2f1bfae919aa78fdc02ddfd
parentb279f5170a807a87a5726bcbeb0bc98937102eee
part: Allow setting the partition-table type

Some devices have multiple partition types available on the same media.
It is sometimes useful to see these to check that everything is working
correctly.

Provide a way to manually set the partition-table type, avoiding the
auto-detection process.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
cmd/part.c
disk/part.c
doc/usage/cmd/part.rst
include/part.h