summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-08-04 22:34:52 (GMT)
committerTom Rini <trini@konsulko.com>2017-08-11 19:41:59 (GMT)
commit00805d7ad83b410660fc17a06374874a81e39874 (patch)
treea4addf40cb41c27d0c0d9d5f1c4b2b8a5464fc7c
parentba71be547c582d1cb50c4fdcdfddc43ca1472fbf (diff)
downloadu-boot-fsl-qoriq-00805d7ad83b410660fc17a06374874a81e39874.tar.xz
Convert CONFIG_CMD_STRINGS to Kconfig
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>
-rw-r--r--cmd/Kconfig8
-rw-r--r--include/configs/vct.h1
-rw-r--r--scripts/config_whitelist.txt1
3 files changed, 8 insertions, 2 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index e4a2578..d26dcf7 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -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"
diff --git a/include/configs/vct.h b/include/configs/vct.h
index e3c3b0e..a98dae8 100644
--- a/include/configs/vct.h
+++ b/include/configs/vct.h
@@ -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
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 2b80164..e59f9ac 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -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