From: Mike Frysinger Date: Wed, 28 Jan 2009 18:48:55 +0000 (-0500) Subject: SPD823TS: do not define CONFIG_CMD_ENV X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=62625c0b081bd4019cecab14e9fc2e05e48d2a58;p=project%2Fbcm63xx%2Fu-boot.git 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 --- diff --git a/include/configs/SPD823TS.h b/include/configs/SPD823TS.h index 9201346997..d4154d2050 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