summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2017-10-08 21:48:01 +0300
committerTom Rini <trini@konsulko.com>2017-10-10 17:51:04 -0400
commitad12dc18447f853ad66b54de513a7211c16f7c76 (patch)
tree13995b01664d3ebc21752672fc8f587e4fc7ac2f /cmd
parentebdd65258bad89b2da6cce4265c858ee0d5a9440 (diff)
cmd: Toggle the default value of CONFIG_CMD_IMLS
Having this as a 'default y' is rather annoying because it doesn't actually compile unless other options are defined in the board header: ../cmd/bootm.c: In function 'do_imls_nor': ../cmd/bootm.c:330:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function); did you mean 'CONFIG_SYS_MAX_FLASH_SECT'? i < CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) { Make it 'default n' so people who develop new boards that start from a blank defconfig have one less compilation failure to debug. Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 681c81ab0d..ce81b4c444 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -266,7 +266,6 @@ config CMD_IMI
config CMD_IMLS
bool "imls"
- default y
help
List all images found in flash