treewide: Migrate CONFIG_SYS_ALT_MEMTEST to Kconfig
[platform/kernel/u-boot.git] / cmd / Kconfig
index d997f0c..d440675 100644 (file)
@@ -23,6 +23,29 @@ config HUSH_PARSER
          If disabled, you get the old, much simpler behaviour with a somewhat
          smaller memory footprint.
 
+config CMDLINE_EDITING
+       bool "Enable command line editing"
+       depends on CMDLINE
+       default y
+       help
+         Enable editing and History functions for interactive command line
+         input operations
+
+config AUTO_COMPLETE
+       bool "Enable auto complete using TAB"
+       depends on CMDLINE
+       default y
+       help
+         Enable auto completion of commands using TAB.
+
+config SYS_LONGHELP
+       bool "Enable long help messages"
+       depends on CMDLINE
+       default y if CMDLINE
+       help
+         Defined when you want long help messages included
+         Do not set this option when short of memory.
+
 config SYS_PROMPT
        string "Shell prompt"
        default "=> "
@@ -400,10 +423,15 @@ endmenu
 
 menu "Memory commands"
 
+config CMD_BINOP
+       bool "binop"
+       help
+         Compute binary operations (xor, or, and) of byte arrays of arbitrary
+         size from memory and store the result in memory or the environment.
+
 config CMD_CRC32
        bool "crc32"
        select HASH
-       default n if ARCH_SUNXI
        default y
        help
          Compute CRC32.
@@ -505,6 +533,15 @@ config CMD_MEMTEST
        help
          Simple RAM read/write test.
 
+if CMD_MEMTEST
+
+config SYS_ALT_MEMTEST
+       bool "Alternative test"
+       help
+         Use a more complete alternative memory test.
+
+endif
+
 config CMD_MX_CYCLIC
        bool "mdc, mwc"
        help
@@ -545,7 +582,6 @@ config CMD_LZMADEC
 
 config CMD_UNZIP
        bool "unzip"
-       default n if ARCH_SUNXI
        default y if CMD_BOOTI
        help
          Uncompress a zip-compressed memory region.
@@ -757,14 +793,12 @@ config CMD_I2C
 
 config CMD_LOADB
        bool "loadb"
-       default n if ARCH_SUNXI
        default y
        help
          Load a binary file over serial line.
 
 config CMD_LOADS
        bool "loads"
-       default n if ARCH_SUNXI
        default y
        help
          Load an S-Record file over serial line
@@ -989,9 +1023,10 @@ endmenu
 
 menu "Network commands"
 
+if NET
+
 config CMD_NET
        bool "bootp, tftpboot"
-        select NET
        default y
        help
          Network commands.
@@ -1015,11 +1050,13 @@ config CMD_RARP
 
 config CMD_DHCP
        bool "dhcp"
+       depends on CMD_NET
        help
          Boot image via network using DHCP/TFTP protocol
 
 config CMD_PXE
        bool "pxe"
+       depends on CMD_NET
        select MENU
        help
          Boot image via network using PXE protocol
@@ -1068,6 +1105,8 @@ config CMD_ETHSW
          operations such as enabling / disabling a port and
          viewing/maintaining the filtering database (FDB)
 
+endif
+
 endmenu
 
 menu "Misc commands"
@@ -1159,7 +1198,6 @@ config CMD_GETTIME
 # TODO: rename to CMD_SLEEP
 config CMD_MISC
        bool "sleep"
-       default n if ARCH_SUNXI
        default y
        help
          Delay execution for some time