From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] SPD823TS: do not define CONFIG_CMD_ENV
Date: Wed, 28 Jan 2009 13:48:55 -0500 [thread overview]
Message-ID: <1233168535-16153-1-git-send-email-vapier@gentoo.org> (raw)
In-Reply-To: <20090128081706.0B650832E416@gemini.denx.de>
Since the SPD823TS board does not actually have any writable flash to save
its environment, undefine CONFIG_CMD_ENV so the "saveenv" command is
disabled.
This fixes the build error:
common/libcommon.a(cmd_nvedit.o): In function `do_saveenv':
common/cmd_nvedit.c:557: undefined reference to `saveenv'
make: *** [u-boot] Error 1
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
include/configs/SPD823TS.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/configs/SPD823TS.h b/include/configs/SPD823TS.h
index 9201346..d4154d2 100644
--- a/include/configs/SPD823TS.h
+++ b/include/configs/SPD823TS.h
@@ -67,6 +67,7 @@
#define CONFIG_CMD_IDE
+#undef CONFIG_CMD_ENV
#undef CONFIG_CMD_FLASH
--
1.6.1.1
next prev parent reply other threads:[~2009-01-28 18:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-30 7:59 [U-Boot] [PATCH] saveenv: standardize enablement Mike Frysinger
2009-01-26 4:13 ` Mike Frysinger
2009-01-27 21:35 ` Wolfgang Denk
2009-01-28 8:17 ` Wolfgang Denk
2009-01-28 8:50 ` Mike Frysinger
2009-01-28 9:03 ` Wolfgang Denk
2009-01-28 18:48 ` Mike Frysinger [this message]
2009-01-28 18:54 ` [U-Boot] [PATCH] SPD823TS: do not define CONFIG_CMD_ENV Mike Frysinger
2009-01-28 21:24 ` Wolfgang Denk
2009-01-28 21:23 ` 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=1233168535-16153-1-git-send-email-vapier@gentoo.org \
--to=vapier@gentoo.org \
--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