]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cmd/gpt.c
Convert CONFIG_CMD_JFFS2 to Kconfig
[people/ms/u-boot.git] / cmd / gpt.c
index 897596a969f64c03d84eb42c1dfc26f87142d460..3e98821868ee18795d68821cc8e9eea56ff6bec0 100644 (file)
--- a/cmd/gpt.c
+++ b/cmd/gpt.c
 #include <div64.h>
 #include <memalign.h>
 
-#ifndef CONFIG_PARTITION_UUIDS
-#error CONFIG_PARTITION_UUIDS must be enabled for CONFIG_CMD_GPT to be enabled
-#endif
-
 /**
  * extract_env(): Expand env name from string format '&{env_name}'
  *                and return pointer to the env (if the env is set)
@@ -58,7 +54,7 @@ static int extract_env(const char *str, char **env)
        if (e == NULL) {
 #ifdef CONFIG_RANDOM_UUID
                debug("%s unset. ", str);
-               gen_rand_uuid_str(uuid_str, UUID_STR_FORMAT_STD);
+               gen_rand_uuid_str(uuid_str, UUID_STR_FORMAT_GUID);
                setenv(s, uuid_str);
 
                e = getenv(s);