]> git.sur5r.net Git - u-boot/blobdiff - board/aristainetos/aristainetos-v2.c
env: Rename setenv() to env_set()
[u-boot] / board / aristainetos / aristainetos-v2.c
index 6abc2159bbc59bc34bc52482a225a41cba1e5f6e..bdf41b99c8745777f7e4e674a9cf3cc1aa9f5885 100644 (file)
@@ -670,9 +670,9 @@ int board_late_init(void)
        if (bootmode == 7) {
                my_bootdelay = getenv("nor_bootdelay");
                if (my_bootdelay != NULL)
-                       setenv("bootdelay", my_bootdelay);
+                       env_set("bootdelay", my_bootdelay);
                else
-                       setenv("bootdelay", "-2");
+                       env_set("bootdelay", "-2");
        }
 
        /* if we have the lg panel, we can initialze it now */