]> 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 4cd184ed74e0ab94d2d389fcfc0f86631b26eb52..bdf41b99c8745777f7e4e674a9cf3cc1aa9f5885 100644 (file)
 #include <asm/arch/mx6-pins.h>
 #include <linux/errno.h>
 #include <asm/gpio.h>
-#include <asm/imx-common/iomux-v3.h>
-#include <asm/imx-common/boot_mode.h>
-#include <asm/imx-common/mxc_i2c.h>
-#include <asm/imx-common/video.h>
+#include <asm/mach-imx/iomux-v3.h>
+#include <asm/mach-imx/boot_mode.h>
+#include <asm/mach-imx/mxc_i2c.h>
+#include <asm/mach-imx/video.h>
 #include <mmc.h>
 #include <fsl_esdhc.h>
 #include <miiphy.h>
@@ -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 */