projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fb5da7
)
common/cmd_nvedit.c: Add missing 'env save' preproc guard
author
Horst Kronstorfer
<hkronsto@frequentis.com>
Sat, 10 Dec 2011 02:25:19 +0000
(
02:25
+0000)
committer
Wolfgang Denk
<wd@denx.de>
Mon, 12 Dec 2011 07:25:38 +0000
(08:25 +0100)
Signed-off-by: Horst Kronstorfer <hkronsto@frequentis.com>
common/cmd_nvedit.c
patch
|
blob
|
history
diff --git
a/common/cmd_nvedit.c
b/common/cmd_nvedit.c
index 599535449ebf49066f0c5e5dd084e9fd760bd814..baaa513f6b2856ddc5d41d8735b9afc429b4d79c 100644
(file)
--- a/
common/cmd_nvedit.c
+++ b/
common/cmd_nvedit.c
@@
-977,7
+977,9
@@
U_BOOT_CMD(
#if defined(CONFIG_CMD_RUN)
"env run var [...] - run commands in an environment variable\n"
#endif
+#if defined(CONFIG_CMD_SAVEENV) && !defined(CONFIG_ENV_IS_NOWHERE)
"env save - save environment\n"
+#endif
"env set [-f] name [arg ...]\n"
);