treewide: Migrate CONFIG_SYS_ALT_MEMTEST to Kconfig
[platform/kernel/u-boot.git] / cmd / Kconfig
index 136836d..d440675 100644 (file)
@@ -423,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.
@@ -528,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
@@ -568,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.
@@ -780,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
@@ -1187,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