Kconfig: Sort the memory commands
authorSimon Glass <sjg@chromium.org>
Fri, 4 Aug 2017 22:34:51 +0000 (16:34 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 11 Aug 2017 19:41:59 +0000 (15:41 -0400)
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@chromium.org>
Suggested-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
cmd/Kconfig

index 845589d..e4a2578 100644 (file)
@@ -370,20 +370,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
@@ -445,6 +431,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
@@ -459,22 +450,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"
@@ -487,10 +480,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