[PATCH v2 3/4] cmd: part: Add partition-related type command

Simon Glass sjg at chromium.org
Thu Dec 22 18:47:15 CET 2022


On Thu, 22 Dec 2022 at 07:26, Enric Balletbo i Serra
<eballetb at redhat.com> wrote:
>
> This implements the following command:
>
>     part type mmc 0:1
>       -> print partition type UUID
>     part type mmc 0:1 uuid
>       -> set environment variable to partition type UUID
>
> "part type" can be useful when writing a bootcmd which searches for a
> specific partition type to enable automatic discovery of partitions and
> their intended usage or mount point.
>
> Signed-off-by: Enric Balletbo i Serra <eballetbo at redhat.com>
> ---
>
> (no changes since v1)
>
>  cmd/part.c             | 29 +++++++++++++++++++++++++++++
>  doc/usage/cmd/part.rst | 12 ++++++++++++
>  2 files changed, 41 insertions(+)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list