summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-28 13:48:55 -0500
committerWolfgang Denk <wd@denx.de>2009-01-28 22:21:37 +0100
commit62625c0b081bd4019cecab14e9fc2e05e48d2a58 (patch)
treec1aa2c4bd29d680019dae41b5d67d2379db23da0
parent6b7243aa89cdacefe46963dbe11cee0cbf021a49 (diff)
downloadu-boot-imx-62625c0b081bd4019cecab14e9fc2e05e48d2a58.zip
u-boot-imx-62625c0b081bd4019cecab14e9fc2e05e48d2a58.tar.gz
u-boot-imx-62625c0b081bd4019cecab14e9fc2e05e48d2a58.tar.bz2
SPD823TS: do not define CONFIG_CMD_ENV
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>
-rw-r--r--include/configs/SPD823TS.h1
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