diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2014-04-02 10:20:06 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-04-02 16:36:06 -0400 |
commit | 39206382dea929b6a834c212b431821e06e68f39 (patch) | |
tree | e6eba4856ca5f0a66fa9756ae3bcdf37538bd565 /lib | |
parent | 89c8230dec063d894aec1a7b5c58f1dcadced738 (diff) | |
download | u-boot-imx-39206382dea929b6a834c212b431821e06e68f39.zip u-boot-imx-39206382dea929b6a834c212b431821e06e68f39.tar.gz u-boot-imx-39206382dea929b6a834c212b431821e06e68f39.tar.bz2 |
cmd:gpt: randomly generate each partition uuid if undefined
Changes:
- randomly generate partition uuid if any is undefined and CONFIG_RAND_UUID
is defined
- print debug info about set/unset/generated uuid
- update doc/README.gpt
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Cc: Piotr Wilczek <p.wilczek@samsung.com>
Cc: Tom Rini <trini@ti.com>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/uuid.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -251,5 +251,5 @@ U_BOOT_CMD(guid, CONFIG_SYS_MAXARGS, 1, do_uuid, "varname: for set result in a environment variable\n" "e.g. guid guid_env" ); -#endif -#endif +#endif /* CONFIG_CMD_UUID */ +#endif /* CONFIG_RANDOM_UUID || CONFIG_CMD_UUID */ |