public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] disable imls command if no flash is defined
@ 2009-01-23 18:02 Valeriy Glushkov
  2009-02-17 23:41 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Valeriy Glushkov @ 2009-01-23 18:02 UTC (permalink / raw)
  To: u-boot

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 |    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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-17 23:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-23 18:02 [U-Boot] [PATCH] disable imls command if no flash is defined Valeriy Glushkov
2009-02-17 23:41 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox