summaryrefslogtreecommitdiff
path: root/common/cmd_nvedit.c
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-12-11 22:16:26 -0600
committerTom Rini <trini@ti.com>2012-12-13 11:46:55 -0700
commita9f51c9b4315f699e7185c85d1d09d2d7819a4eb (patch)
treea4ed6c3085eea661f229595001ce6c3d710fbf68 /common/cmd_nvedit.c
parent5e2b3e0c59df3313254941b453ffeadba9e673ae (diff)
downloadu-boot-imx-a9f51c9b4315f699e7185c85d1d09d2d7819a4eb.zip
u-boot-imx-a9f51c9b4315f699e7185c85d1d09d2d7819a4eb.tar.gz
u-boot-imx-a9f51c9b4315f699e7185c85d1d09d2d7819a4eb.tar.bz2
env: Add a bootfile env handler
Remove the hard-coded bootfile handler and use a callback instead Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'common/cmd_nvedit.c')
-rw-r--r--common/cmd_nvedit.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index 1e51b9d..874baef 100644
--- a/common/cmd_nvedit.c
+++ b/common/cmd_nvedit.c
@@ -50,9 +50,6 @@
#include <serial.h>
#include <linux/stddef.h>
#include <asm/byteorder.h>
-#if defined(CONFIG_CMD_NET)
-#include <net.h>
-#endif
DECLARE_GLOBAL_DATA_PTR;
@@ -328,12 +325,6 @@ int env_change_ok(const ENTRY *item, const char *newval, enum env_op op,
load_addr = simple_strtoul(newval, NULL, 16);
return 0;
}
-#if defined(CONFIG_CMD_NET)
- else if (strcmp(name, "bootfile") == 0) {
- copy_filename(BootFile, newval, sizeof(BootFile));
- return 0;
- }
-#endif
return 0;
}