]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/bootretry.c
imx6q: engicam: Use SPL_LOAD_FIT for MMC boards
[people/ms/u-boot.git] / common / bootretry.c
index 2d82798cd04bc6ba004d2382ceaab79637c79a85..b3b8271a92391d5f73a7a9c0d1202259aac9113c 100644 (file)
@@ -23,7 +23,7 @@ static int      retry_time = -1; /* -1 so can call readline before main_loop */
  */
 void bootretry_init_cmd_timeout(void)
 {
-       char *s = getenv("bootretry");
+       char *s = env_get("bootretry");
 
        if (s != NULL)
                retry_time = (int)simple_strtol(s, NULL, 10);