mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
cmd: part: Cover both part type entries with GUID ifdef
The 'part type' subcommand depends on GUID partition table support. The help text exposes one of two 'part type' subcommand entries, hide both in case GUID partition table support is not enabled to avoid confusing users. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -308,9 +308,9 @@ U_BOOT_CMD(
|
||||
#ifdef CONFIG_PARTITION_TYPE_GUID
|
||||
"part type <interface> <dev>:<part>\n"
|
||||
" - print partition type\n"
|
||||
#endif
|
||||
"part type <interface> <dev>:<part> <varname>\n"
|
||||
" - set environment variable to partition type\n"
|
||||
#endif
|
||||
"part set <interface> <dev> type\n"
|
||||
" - set partition type for a device\n"
|
||||
"part types\n"
|
||||
|
||||
Reference in New Issue
Block a user