]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - net/net.c
env: Rename common functions related to setenv()
[people/ms/u-boot.git] / net / net.c
index 2268890ab54e7bd6ac0ef104212570f4b45b3402..be33c66b3ac6ab8e6dd80be8c735cfbbda338efc 100644 (file)
--- a/net/net.c
+++ b/net/net.c
@@ -616,8 +616,8 @@ restart:
                        if (net_boot_file_size > 0) {
                                printf("Bytes transferred = %d (%x hex)\n",
                                       net_boot_file_size, net_boot_file_size);
-                               setenv_hex("filesize", net_boot_file_size);
-                               setenv_hex("fileaddr", load_addr);
+                               env_set_hex("filesize", net_boot_file_size);
+                               env_set_hex("fileaddr", load_addr);
                        }
                        if (protocol != NETCONS)
                                eth_halt();