]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
lib: uuid: move CONFIG_RANDOM_UUID
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Thu, 26 Oct 2023 18:31:31 +0000 (14:31 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 7 Nov 2023 19:49:10 +0000 (14:49 -0500)
This option is independent from any commands and should be managed
under lib. For instance, drivers/block/rkmtd.c is a user.

It would be better to remove this configuration.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
cmd/Kconfig
lib/Kconfig

index 6cf71591095b90aea0db6e8267543e9e7e222c67..629a90afb7b5240f1f517723dc2817c6e9de19af 100644 (file)
@@ -1131,13 +1131,6 @@ config CMD_GPT
          Enable the 'gpt' command to ready and write GPT style partition
          tables.
 
-config RANDOM_UUID
-       bool "GPT Random UUID generation"
-       select LIB_UUID
-       help
-         Enable the generation of partitions with random UUIDs if none
-         are provided.
-
 config CMD_GPT_RENAME
        bool "GPT partition renaming commands"
        depends on CMD_GPT
index 19649517a39bb8cf57b23e9602574e69a6846e8d..0c3afae8f52a41adeba876904fdd7f843fb630c1 100644 (file)
@@ -74,6 +74,13 @@ config HAVE_PRIVATE_LIBGCC
 config LIB_UUID
        bool
 
+config RANDOM_UUID
+       bool "GPT Random UUID generation"
+       select LIB_UUID
+       help
+         Enable the generation of partitions with random UUIDs if none
+         are provided.
+
 config SPL_LIB_UUID
        depends on SPL
        bool