summaryrefslogtreecommitdiff
path: root/common/cmd_nvedit.c
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2009-02-19 11:06:58 -0600
committerKim Phillips <kim.phillips@freescale.com>2009-02-19 11:06:58 -0600
commit7511835b29f2074ebfa8ea794f0303ec8e49542b (patch)
tree0a0f8539a467c897ea0f33ec0b17b8b664e7c7e3 /common/cmd_nvedit.c
parent2b68b23373f96199a0cafbfd7a9f79ed62381ebb (diff)
parent32482be67775e00b4cbc49fba62347c1ecc6229c (diff)
downloadu-boot-imx-7511835b29f2074ebfa8ea794f0303ec8e49542b.zip
u-boot-imx-7511835b29f2074ebfa8ea794f0303ec8e49542b.tar.gz
u-boot-imx-7511835b29f2074ebfa8ea794f0303ec8e49542b.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot
Diffstat (limited to 'common/cmd_nvedit.c')
-rw-r--r--common/cmd_nvedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index 1fcb4c9..02b18ec 100644
--- a/common/cmd_nvedit.c
+++ b/common/cmd_nvedit.c
@@ -546,7 +546,7 @@ int getenv_r (char *name, char *buf, unsigned len)
return (-1);
}
-#if defined(CONFIG_CMD_ENV) && !defined(CONFIG_ENV_IS_NOWHERE)
+#if defined(CONFIG_CMD_SAVEENV) && !defined(CONFIG_ENV_IS_NOWHERE)
int do_saveenv (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{