]> git.sur5r.net Git - u-boot/blobdiff - board/ti/am335x/board.c
env: Rename setenv() to env_set()
[u-boot] / board / ti / am335x / board.c
index 0a16529b5f810d0a3dff9b0798454f414b5b3ba4..5751b814ca263f5649ad718634e7cb40c2ee8210 100644 (file)
@@ -249,7 +249,7 @@ int spl_start_uboot(void)
 
 #ifdef CONFIG_SPL_ENV_SUPPORT
        env_init();
-       env_relocate_spec();
+       env_load();
        if (getenv_yesno("boot_os") != 1)
                return 1;
 #endif
@@ -731,7 +731,7 @@ int board_late_init(void)
         * on HS devices.
         */
        if (get_device_type() == HS_DEVICE)
-               setenv("boot_fit", "1");
+               env_set("boot_fit", "1");
 #endif
 
 #if !defined(CONFIG_SPL_BUILD)