From: Valeriy Glushkov Date: Fri, 23 Jan 2009 18:02:17 +0000 (+0200) Subject: disable imls command if no flash is defined X-Git-Tag: v2009.03-rc1~41 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8b0592b89e0f9f81c9e150c81d96f8a43e4d6101;p=oweals%2Fu-boot.git 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 --- diff --git a/include/config_cmd_default.h b/include/config_cmd_default.h index b556706c73..4ad8f369fd 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 */