Browse Source

disable imls command if no flash is defined

Default CONFIG_CMD_IMLS must be disabled when CONFIG_SYS_NO_FLASH is defined

Signed-off-by: Valeriy Glushkov <gvv@lstec.com>
Valeriy Glushkov 16 years ago
parent
commit
8b0592b89e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      include/config_cmd_default.h

+ 2 - 0
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			*/