diff mbox

[U-Boot,37/41] Convert CONFIG_CMD_UUID to Kconfig

Message ID 20170721231140.136461-38-sjg@chromium.org
State Changes Requested
Delegated to: Tom Rini
Headers show

Commit Message

Simon Glass July 21, 2017, 11:11 p.m. UTC
This converts the following to Kconfig:
   CONFIG_CMD_UUID

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 README                       |  1 -
 cmd/Kconfig                  | 11 +++++++++++
 scripts/config_whitelist.txt |  1 -
 3 files changed, 11 insertions(+), 2 deletions(-)

Comments

Bin Meng July 23, 2017, 3:33 a.m. UTC | #1
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_UUID
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  README                       |  1 -
>  cmd/Kconfig                  | 11 +++++++++++
>  scripts/config_whitelist.txt |  1 -
>  3 files changed, 11 insertions(+), 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
diff mbox

Patch

diff --git a/README b/README
index d0d6fe2b8d..7217037203 100644
--- a/README
+++ b/README
@@ -827,7 +827,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 1f2da5444c..28a7c9a399 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1121,6 +1121,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 1d5506234d..0d7b6fcfc3 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,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