Skip to contentSkip to conversation

disable imls command if no flash is defined

PATCH New Valeriy Glushkov 2 participants 2 messages Jan 23, 2009 – Feb 17, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 disable imls command if no flash is defined

Default CONFIG_CMD_IMLS must be disabled when CONFIG_SYS_NO_FLASH is defined

---
 include/config_cmd_default.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
include/config_cmd_default.h +2 -0
index b556706..4ad8f36 100644
@@ -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			*/
Signature · 1 line
1.5.2.5
#1 lore raw

PATCH 1/1 disable imls command if no flash is defined

Dear Valeriy Glushkov,

Quoted 6 lines · In message <[email protected]> you wrote:

Default CONFIG_CMD_IMLS must be disabled when CONFIG_SYS_NO_FLASH is defined

---
 include/config_cmd_default.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Without facts, the decision cannot be made logically. You  must  rely
on your human intuition.
	-- Spock, "Assignment: Earth", stardate unknown