public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Valeriy Glushkov <gvv@lstec.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] disable imls command if no flash is defined
Date: Fri, 23 Jan 2009 20:02:17 +0200	[thread overview]
Message-ID: <12327337373498-git-send-email-gvv@lstec.com> (raw)

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

             reply	other threads:[~2009-01-23 18:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-23 18:02 Valeriy Glushkov [this message]
2009-02-17 23:41 ` [U-Boot] [PATCH] disable imls command if no flash is defined Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12327337373498-git-send-email-gvv@lstec.com \
    --to=gvv@lstec.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox