diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2023-08-31 10:51:37 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-09-11 16:24:46 -0400 |
commit | b1433affd9a9de10150c31929564f68ca338911a (patch) | |
tree | b4248a39d38a0dfc0182071138fcc038a224681b /doc | |
parent | a3eb350649757efc5eac3bfe41d1fbf0e51b0690 (diff) | |
download | u-boot-b1433affd9a9de10150c31929564f68ca338911a.tar.gz u-boot-b1433affd9a9de10150c31929564f68ca338911a.tar.bz2 u-boot-b1433affd9a9de10150c31929564f68ca338911a.zip |
cmd: gpt: Add gpt_partition_bootable variable
Adds an additional variable called gpt_partition_bootable that indicates
if the given partition is bootable or not.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/usage/cmd/gpt.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/usage/cmd/gpt.rst b/doc/usage/cmd/gpt.rst index 6387c8116f..b505b159d0 100644 --- a/doc/usage/cmd/gpt.rst +++ b/doc/usage/cmd/gpt.rst @@ -108,6 +108,9 @@ gpt_partition_name gpt_partition_entry the partition number in the table, e.g. 1, 2, 3, etc. +gpt_partition_bootable + 1 if the partition is marked as bootable, 0 if not + gpt swap ~~~~~~~~ @@ -167,6 +170,8 @@ Get the information about the partition named 'rootfs':: rootfs => echo ${gpt_partition_entry} 2 + => echo ${gpt_partition_bootable} + 0 Get the list of partition names on the disk:: |