diff options
author | Valeriy Glushkov <gvv@lstec.com> | 2009-01-23 18:02:17 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-02-17 23:41:36 (GMT) |
commit | 8b0592b89e0f9f81c9e150c81d96f8a43e4d6101 (patch) | |
tree | d3932e356fa3ad0ddfc8c6b3d5aabc46725d5019 /include | |
parent | 923aa48126259c13de95131203f1d28bfa5cb889 (diff) | |
download | u-boot-fsl-qoriq-8b0592b89e0f9f81c9e150c81d96f8a43e4d6101.tar.xz |
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>
Diffstat (limited to 'include')
-rw-r--r-- | 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 */ |