]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/teejet/mt_ventoux/mt_ventoux.c
env: Rename getenv/_f() to env_get()
[people/ms/u-boot.git] / board / teejet / mt_ventoux / mt_ventoux.c
index 6e73ae114a65903a5c8772537d356399bb245598..9eaae50f27a0be3ab9a5c0cc3878a4e825089975 100644 (file)
@@ -261,7 +261,7 @@ int misc_init_r(void)
 
        if (ret)
                return 0;
-       eth_addr = getenv("ethaddr");
+       eth_addr = env_get("ethaddr");
        if (!eth_addr)
                TAM3517_READ_MAC_FROM_EEPROM(&info);
 
@@ -311,7 +311,7 @@ int board_video_init(void)
 
        fb = (void *)0x88000000;
 
-       s = getenv("panel");
+       s = env_get("panel");
        if (s) {
                index = simple_strtoul(s, NULL, 10);
                if (index < ARRAY_SIZE(lcd_cfg))