From mboxrd@z Thu Jan 1 00:00:00 1970 From: Valeriy Glushkov Date: Fri, 23 Jan 2009 20:02:17 +0200 Subject: [U-Boot] [PATCH] disable imls command if no flash is defined Message-ID: <12327337373498-git-send-email-gvv@lstec.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Default CONFIG_CMD_IMLS must be disabled when CONFIG_SYS_NO_FLASH is defined Signed-off-by: Valeriy Glushkov --- include/config_cmd_default.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/config_cmd_default.h b/include/config_cmd_default.h index b556706..4ad8f36 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 */ -- 1.5.2.5