[PATCH v4 13/45] part: Allow setting the partition-table type

Bin Meng bmeng.cn at gmail.com
Wed Jul 12 16:02:34 CEST 2023


On Mon, Jun 19, 2023 at 8:01 PM Simon Glass <sjg at chromium.org> wrote:
>
> 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 at chromium.org>
> ---
>
> (no changes since v1)
>
>  cmd/part.c             | 34 +++++++++++++++++++
>  disk/part.c            | 16 +++++++++
>  doc/usage/cmd/part.rst | 74 ++++++++++++++++++++++++++++++++++++++++++
>  include/part.h         |  9 +++++
>  4 files changed, 133 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list