summaryrefslogtreecommitdiff
path: root/common/cmd_nvedit.c
diff options
context:
space:
mode:
authorstroese <stroese>2003-07-11 08:00:33 +0000
committerstroese <stroese>2003-07-11 08:00:33 +0000
commit155cb0104a9dc2924e209c8d0279f1da295b4d01 (patch)
tree45e77842c2120bfad3640eb380a88384caa9fb13 /common/cmd_nvedit.c
parentf12e568ca45f6c56b5a6d52a43524987e141abe7 (diff)
downloadu-boot-155cb0104a9dc2924e209c8d0279f1da295b4d01.tar.gz
u-boot-155cb0104a9dc2924e209c8d0279f1da295b4d01.tar.bz2
u-boot-155cb0104a9dc2924e209c8d0279f1da295b4d01.zip
- Fix bug in CONFIG_VERSION_VARIABLE.
Diffstat (limited to 'common/cmd_nvedit.c')
-rw-r--r--common/cmd_nvedit.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index bfc69bdb48..53df582cfa 100644
--- a/common/cmd_nvedit.c
+++ b/common/cmd_nvedit.c
@@ -183,9 +183,6 @@ int _do_setenv (int flag, int argc, char *argv[])
* ver is readonly.
*/
if ( (strcmp (name, "serial#") == 0) ||
-#if defined(CONFIG_VERSION_VARIABLE)
- (strcmp (name, "ver") == 0) ||
-#endif /* CONFIG_VERSION_VARIABLE */
((strcmp (name, "ethaddr") == 0)
#if defined(CONFIG_OVERWRITE_ETHADDR_ONCE) && defined(CONFIG_ETHADDR)
&& (strcmp (env_get_addr(oldval),MK_STR(CONFIG_ETHADDR)) != 0)