]> git.ipfire.org Git - u-boot.git/blobdiff - board/gateworks/gw_ventana/gw_ventana_spl.c
env: Rename getenv_hex(), getenv_yesno(), getenv_ulong()
[u-boot.git] / board / gateworks / gw_ventana / gw_ventana_spl.c
index feea228b3d61a3ebe39a367904aed72b4b6346c1..9524da7daf392166f55b9d7f5b49d526e858ccb9 100644 (file)
@@ -692,7 +692,7 @@ int spl_start_uboot(void)
        env_init();
        env_load();
        debug("boot_os=%s\n", env_get("boot_os"));
-       if (getenv_yesno("boot_os") == 1)
+       if (env_get_yesno("boot_os") == 1)
                ret = 0;
 #else
        /* use i2c-0:0x50:0x00 for falcon boot mode (0=linux, else uboot) */