Convert CONFIG_CMD_UUID to Kconfig
authorSimon Glass <sjg@chromium.org>
Fri, 4 Aug 2017 22:35:02 +0000 (16:35 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 11 Aug 2017 21:44:52 +0000 (17:44 -0400)
This converts the following to Kconfig:
   CONFIG_CMD_UUID

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
README
cmd/Kconfig
scripts/config_whitelist.txt

diff --git a/README b/README
index ca2584934553452d2ee05d549596175f85aacd80..cee87149d2bffc9fc0a935d34c4b66de4ae5a45a 100644 (file)
--- 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:
index 162153174f0a7eadc04ee1770668da7de4134a27..b80aff94b2ef1ac3461b4a474d58a3fc305512c4 100644 (file)
@@ -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
index 93501966c5fa1feb9b576222b5ae17c790d3b66f..8b02d2ea726e6db342d371029f6858d2c1c5399d 100644 (file)
@@ -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