[U-Boot] [PATCH v2 27/42] Kconfig: Sort the memory commands

Simon Glass sjg at chromium.org
Fri Aug 4 22:34:51 UTC 2017


These are currently not quite in alphabetical order. Before adding more,
sort them. Not all options have a CMD_ prefix, so ignore that when
sorting.

Signed-off-by: Simon Glass <sjg at chromium.org>
Suggested-by: Bin Meng <bmeng.cn at gmail.com>
---

Changes in v2:
- Add new patch to sort the memory commands

 cmd/Kconfig | 60 ++++++++++++++++++++++++++++++------------------------------
 1 file changed, 30 insertions(+), 30 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index df16508e47..bcf45fd119 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -369,20 +369,6 @@ endmenu
 
 menu "Memory commands"
 
-config CMD_MEMORY
-	bool "md, mm, nm, mw, cp, cmp, base, loop"
-	default y
-	help
-	  Memory commands.
-	    md - memory display
-	    mm - memory modify (auto-incrementing address)
-	    nm - memory modify (constant address)
-	    mw - memory write (fill)
-	    cp - memory copy
-	    cmp - memory compare
-	    base - print or set address offset
-	    loop - initialize loop on address range
-
 config CMD_CRC32
 	bool "crc32"
 	select HASH
@@ -444,6 +430,11 @@ config EEPROM_LAYOUT_HELP_STRING
 	    Help printed with the LAYOUT VERSIONS part of the 'eeprom'
 	    command's help.
 
+config LOOPW
+	bool "loopw"
+	help
+	  Infinite write loop on address range
+
 config CMD_MD5SUM
 	bool "md5sum"
 	default n
@@ -458,22 +449,24 @@ config MD5SUM_VERIFY
 	help
 	  Add -v option to verify data against an MD5 checksum.
 
-config CMD_SHA1SUM
-	bool "sha1sum"
-	select SHA1
-	help
-	  Compute SHA1 checksum.
-
-config SHA1SUM_VERIFY
-	bool "sha1sum -v"
-	depends on CMD_SHA1SUM
+config CMD_MEMINFO
+	bool "meminfo"
 	help
-	  Add -v option to verify data against a SHA1 checksum.
+	  Display memory information.
 
-config LOOPW
-	bool "loopw"
+config CMD_MEMORY
+	bool "md, mm, nm, mw, cp, cmp, base, loop"
+	default y
 	help
-	  Infinite write loop on address range
+	  Memory commands.
+	    md - memory display
+	    mm - memory modify (auto-incrementing address)
+	    nm - memory modify (constant address)
+	    mw - memory write (fill)
+	    cp - memory copy
+	    cmp - memory compare
+	    base - print or set address offset
+	    loop - initialize loop on address range
 
 config CMD_MEMTEST
 	bool "memtest"
@@ -486,10 +479,17 @@ config CMD_MX_CYCLIC
 	  mdc - memory display cyclic
 	  mwc - memory write cyclic
 
-config CMD_MEMINFO
-	bool "meminfo"
+config CMD_SHA1SUM
+	bool "sha1sum"
+	select SHA1
 	help
-	  Display memory information.
+	  Compute SHA1 checksum.
+
+config SHA1SUM_VERIFY
+	bool "sha1sum -v"
+	depends on CMD_SHA1SUM
+	help
+	  Add -v option to verify data against a SHA1 checksum.
 
 endmenu
 
-- 
2.14.0.rc1.383.gd1ce394fe2-goog



More information about the U-Boot mailing list