]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/compulab/common/omap3_display.c
env: Rename getenv/_f() to env_get()
[people/ms/u-boot.git] / board / compulab / common / omap3_display.c
index 61707f5b900e2f0278773592c72ce83bb3e6fb52..ed2077e3617904c32f1d49cc09a52292df5015a9 100644 (file)
@@ -400,7 +400,7 @@ void lcd_ctrl_init(void *lcdbase)
 {
        struct prcm *prcm = (struct prcm *)PRCM_BASE;
        char *custom_lcd;
-       char *displaytype = getenv("displaytype");
+       char *displaytype = env_get("displaytype");
 
        if (displaytype == NULL)
                return;
@@ -408,7 +408,7 @@ void lcd_ctrl_init(void *lcdbase)
        lcd_def = env_parse_displaytype(displaytype);
        /* If we did not recognize the preset, check if it's an env variable */
        if (lcd_def == NONE) {
-               custom_lcd = getenv(displaytype);
+               custom_lcd = env_get(displaytype);
                if (custom_lcd == NULL || parse_customlcd(custom_lcd) < 0)
                        return;
        }