SPD823TS: do not define CONFIG_CMD_ENV
authorMike Frysinger <vapier@gentoo.org>
Wed, 28 Jan 2009 18:48:55 +0000 (13:48 -0500)
committerWolfgang Denk <wd@denx.de>
Wed, 28 Jan 2009 21:21:37 +0000 (22:21 +0100)
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

index 9201346..d4154d2 100644 (file)
@@ -67,6 +67,7 @@
 
 #define CONFIG_CMD_IDE
 
+#undef CONFIG_CMD_ENV
 #undef CONFIG_CMD_FLASH