]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_CMD_STRINGS to Kconfig
authorSimon Glass <sjg@chromium.org>
Fri, 4 Aug 2017 22:34:52 +0000 (16:34 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 11 Aug 2017 19:41:59 +0000 (15:41 -0400)
This converts the following to Kconfig:
   CONFIG_CMD_STRINGS

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
cmd/Kconfig
include/configs/vct.h
scripts/config_whitelist.txt

index e4a25787cb4a4e28c0d8a0e731631fa7a9adad4b..d26dcf7fc2ffbef231c9b87f8908215ea1ade803 100644 (file)
@@ -492,6 +492,14 @@ config SHA1SUM_VERIFY
        help
          Add -v option to verify data against a SHA1 checksum.
 
+config CMD_STRINGS
+       bool "strings - display strings in memory"
+       help
+         This works similarly to the Unix 'strings' command except that it
+         works with a memory range. String of printable characters found
+         within the range are displayed. The minimum number of characters
+         for a sequence to be considered a string can be provided.
+
 endmenu
 
 menu "Compression commands"
index e3c3b0e71f5c87c4f73e5bd46adbe7219f2d7e5f..a98dae8e24efb1ba5b8d7d688c2ec3533aca4dfc 100644 (file)
@@ -239,7 +239,6 @@ int vct_gpio_get(int pin);
  * (NOR/OneNAND) usage and Linux kernel booting.
  */
 #if defined(CONFIG_VCT_SMALL_IMAGE)
-#undef CONFIG_CMD_STRINGS
 #undef CONFIG_CMD_TERMINAL
 
 #undef CONFIG_SMC911X
index 2b801641c814ea1abdb9e9a47561965df0ca4f54..e59f9ac7b03d5446973897b0e994995b8b6df38b 100644 (file)
@@ -293,7 +293,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_STRINGS
 CONFIG_CMD_SX151X
 CONFIG_CMD_TCA642X
 CONFIG_CMD_TERMINAL