]> git.sur5r.net Git - u-boot/blobdiff - board/ti/am57xx/board.c
Merge git://www.denx.de/git/u-boot-imx
[u-boot] / board / ti / am57xx / board.c
index 7bcbc31042f2c05cc01efc73eab970b13f3c7112..7e7056cf71c5012150a1328a0cd8defee3fd6871 100644 (file)
@@ -743,7 +743,7 @@ int spl_start_uboot(void)
 #ifdef CONFIG_SPL_ENV_SUPPORT
        env_init();
        env_load();
-       if (getenv_yesno("boot_os") != 1)
+       if (env_get_yesno("boot_os") != 1)
                return 1;
 #endif