]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - net/net.c
env: Rename getenv_hex(), getenv_yesno(), getenv_ulong()
[people/ms/u-boot.git] / net / net.c
index 4f82a7e46b204c507c550ea2dc756b6814d14e5f..0b876913e35fe89a74d02e76348fe515cec1a2d9 100644 (file)
--- a/net/net.c
+++ b/net/net.c
@@ -329,7 +329,7 @@ void net_auto_load(void)
                return;
        }
 #endif
-       if (getenv_yesno("autoload") == 0) {
+       if (env_get_yesno("autoload") == 0) {
                /*
                 * Just use BOOTP/RARP to configure system;
                 * Do not use TFTP to load the bootfile.