summaryrefslogtreecommitdiff
path: root/doc/README.gpt
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2015-01-26 09:44:18 -0600
committerTom Rini <trini@konsulko.com>2015-03-05 11:17:53 -0500
commit0c7e8d1317daa86da7d1cfdea7733f8091a002c1 (patch)
tree6503395c25d6723b6e06128691d9689c2445a912 /doc/README.gpt
parenta150e6c9df04f8c5eb4c7f550a109e3e34aafa81 (diff)
downloadu-boot-imx-0c7e8d1317daa86da7d1cfdea7733f8091a002c1.zip
u-boot-imx-0c7e8d1317daa86da7d1cfdea7733f8091a002c1.tar.gz
u-boot-imx-0c7e8d1317daa86da7d1cfdea7733f8091a002c1.tar.bz2
gpt: support random UUIDs without setting environment variables
Currently, an environment variable must be used to store the randomly generated UUID for each partition. This is not necessary, so make storing the UUID optional. Now passing uuid_disk and uuid are optional when random UUIDs are enabled. Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
Diffstat (limited to 'doc/README.gpt')
-rw-r--r--doc/README.gpt8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/README.gpt b/doc/README.gpt
index ec0156d..59fdeeb 100644
--- a/doc/README.gpt
+++ b/doc/README.gpt
@@ -157,11 +157,13 @@ To restore GUID partition table one needs to:
"partitions=uuid_disk=${uuid_gpt_disk};name=${uboot_name},
size=${uboot_size},uuid=${uboot_uuid};"
- Fields 'name', 'size' and 'uuid' are mandatory for every partition.
+ The fields 'name' and 'size' are mandatory for every partition.
The field 'start' is optional.
- option: CONFIG_RANDOM_UUID
- If any partition "UUID" no exists then it is randomly generated.
+ The fields 'uuid' and 'uuid_disk' are optional if CONFIG_RANDOM_UUID is
+ enabled. A random uuid will be used if omitted or they point to an empty/
+ non-existent environment variable. The environment variable will be set to
+ the generated UUID.
2. Define 'CONFIG_EFI_PARTITION' and 'CONFIG_CMD_GPT'