]> git.sur5r.net Git - u-boot/blobdiff - board/aristainetos/aristainetos-v2.c
env: Rename getenv/_f() to env_get()
[u-boot] / board / aristainetos / aristainetos-v2.c
index bdf41b99c8745777f7e4e674a9cf3cc1aa9f5885..698715ca20698af270a8b599ebea59e95583b9fd 100644 (file)
@@ -651,7 +651,7 @@ int board_late_init(void)
 {
        char *my_bootdelay;
        char bootmode = 0;
-       char const *panel = getenv("panel");
+       char const *panel = env_get("panel");
 
        /*
         * Check the boot-source. If booting from NOR Flash,
@@ -668,7 +668,7 @@ int board_late_init(void)
        bootmode |= (gpio_get_value(IMX_GPIO_NR(7, 1)) ? 1 : 0) << 2;
 
        if (bootmode == 7) {
-               my_bootdelay = getenv("nor_bootdelay");
+               my_bootdelay = env_get("nor_bootdelay");
                if (my_bootdelay != NULL)
                        env_set("bootdelay", my_bootdelay);
                else