diff options
author | Enric Balletbo i Serra <eballetb@redhat.com> | 2023-01-10 17:19:34 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-18 13:10:41 -0500 |
commit | 22e7f1d108410cc81a0ec5a6481338e4d6e9586e (patch) | |
tree | 9b75ad847f2e71442a80c4b8b2e4e6649d1c0b5d /lib/zstd/common/compiler.h | |
parent | a685e9c99fb22b37aa5a9c8df235e35384321515 (diff) |
cmd: part: Add partition-related type command
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@redhat.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
[trini: Fix when CONFIG_PARTITION_TYPE_GUID is disabled and have the
command check for "types" before "type"]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'lib/zstd/common/compiler.h')
0 files changed, 0 insertions, 0 deletions