]> git.sur5r.net Git - u-boot/commitdiff
disable imls command if no flash is defined
authorValeriy Glushkov <gvv@lstec.com>
Fri, 23 Jan 2009 18:02:17 +0000 (20:02 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 17 Feb 2009 23:41:36 +0000 (00:41 +0100)
Default CONFIG_CMD_IMLS must be disabled when CONFIG_SYS_NO_FLASH is defined

Signed-off-by: Valeriy Glushkov <gvv@lstec.com>
include/config_cmd_default.h

index b556706c73873aba8bc7ba1967af107dcf0d2c8a..4ad8f369fd372cfa0c9d72943cbb08b2c3ab1d66 100644 (file)
@@ -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                        */