From 62625c0b081bd4019cecab14e9fc2e05e48d2a58 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 28 Jan 2009 13:48:55 -0500 Subject: [PATCH] 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 --- include/configs/SPD823TS.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5