summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/config_cmd_default.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/config_cmd_default.h b/include/config_cmd_default.h
index b556706c7..4ad8f369f 100644
--- a/include/config_cmd_default.h
+++ b/include/config_cmd_default.h
@@ -25,7 +25,9 @@
#define CONFIG_CMD_FLASH /* flinfo, erase, protect */
#define CONFIG_CMD_FPGA /* FPGA configuration Support */
#define CONFIG_CMD_IMI /* iminfo */
+#ifndef CONFIG_SYS_NO_FLASH
#define CONFIG_CMD_IMLS /* List all found images */
+#endif
#define CONFIG_CMD_ITEST /* Integer (and string) test */
#define CONFIG_CMD_LOADB /* loadb */
#define CONFIG_CMD_LOADS /* loads */