lib: uuid: move CONFIG_RANDOM_UUID

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>
This commit is contained in:
AKASHI Takahiro 2023-10-26 14:31:31 -04:00 committed by Tom Rini
parent 3165565e5b
commit a4dc3d5699
2 changed files with 7 additions and 7 deletions

View 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

View 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