]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/autoboot.c
Merge branch 'rmobile-mx' of git://git.denx.de/u-boot-sh
[people/ms/u-boot.git] / common / autoboot.c
index 35c1e972c6593e0998f1ff92ab56cd371d4042b4..a0118650287e08e12e979dffc3367acdb8bfc01c 100644 (file)
@@ -301,7 +301,7 @@ const char *bootdelay_process(void)
        bootcount++;
        bootcount_store(bootcount);
        env_set_ulong("bootcount", bootcount);
-       bootlimit = getenv_ulong("bootlimit", 10, 0);
+       bootlimit = env_get_ulong("bootlimit", 10, 0);
 #endif /* CONFIG_BOOTCOUNT_LIMIT */
 
        s = env_get("bootdelay");