From 1aa4e8d0dead107ea28e5b90a3af07b753b17960 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 4 Aug 2017 16:35:02 -0600 Subject: [PATCH] Convert CONFIG_CMD_UUID to Kconfig This converts the following to Kconfig: CONFIG_CMD_UUID Signed-off-by: Simon Glass Reviewed-by: Bin Meng Reviewed-by: Philipp Tomsich --- README | 1 - cmd/Kconfig | 11 +++++++++++ scripts/config_whitelist.txt | 1 - 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/README b/README index ca25849345..cee87149d2 100644 --- a/README +++ b/README @@ -826,7 +826,6 @@ The following options need to be configured: CONFIG_CMD_USB * USB support CONFIG_CMD_CDP * Cisco Discover Protocol support CONFIG_CMD_XIMG Load part of Multi Image - CONFIG_CMD_UUID * Generate random UUID or GUID string EXAMPLE: If you want all functions except of network support you can write: diff --git a/cmd/Kconfig b/cmd/Kconfig index 162153174f..b80aff94b2 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1122,6 +1122,17 @@ config CMD_TERMINAL is very simple with no special processing of characters. As with cu, you can press ~. (tilde followed by period) to exit. +config CMD_UUID + bool "uuid, guid - generation of unique IDs" + help + This enables two commands: + + uuid - generate random Universally Unique Identifier + guid - generate Globally Unique Identifier based on random UUID + + The two commands are very similar except for the endianness of the + output. + endmenu config CMD_BOOTSTAGE diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 93501966c5..8b02d2ea72 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -293,7 +293,6 @@ CONFIG_CM922T_XA10 CONFIG_CMDLINE_EDITING CONFIG_CMDLINE_PS_SUPPORT CONFIG_CMDLINE_TAG -CONFIG_CMD_UUID CONFIG_CMD_ZBOOT CONFIG_CMD_ZFS CONFIG_CM_INIT -- 2.39.2