]> git.sur5r.net Git - u-boot/commitdiff
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 92013469970673ad7b0c805eb22eeb8b324c3258..d4154d205086136ce9530774016acc0bd6214283 100644 (file)
@@ -67,6 +67,7 @@
 
 #define CONFIG_CMD_IDE
 
+#undef CONFIG_CMD_ENV
 #undef CONFIG_CMD_FLASH