diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2012-12-12 08:16:26 +0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-12-13 22:46:55 +0400 |
commit | a9f51c9b4315f699e7185c85d1d09d2d7819a4eb (patch) | |
tree | a4ed6c3085eea661f229595001ce6c3d710fbf68 /common/cmd_nvedit.c | |
parent | 5e2b3e0c59df3313254941b453ffeadba9e673ae (diff) | |
download | u-boot-a9f51c9b4315f699e7185c85d1d09d2d7819a4eb.tar.xz |
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.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 1e51b9d069..874baef865 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; } |