]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/kup/kup4k/kup4k.c
Rename getenv_r() into getenv_f()
[people/ms/u-boot.git] / board / kup / kup4k / kup4k.c
index 98f5f5a30a5142df6a4718f6b742056e4c968176..607fd7903e83cc83bbe59d6b15d38bc825d462e5 100644 (file)
@@ -314,7 +314,7 @@ void lcd_logo (bd_t * bd)
        }
 
 
-       n = getenv_("lcd", tmp, sizeof (tmp));
+       n = getenv_f("lcd", tmp, sizeof (tmp));
        if (n > 0) {
                if (!strcmp ("tft", tmp))
                        tft = 1;
@@ -342,7 +342,7 @@ void lcd_logo (bd_t * bd)
                        ((S1D_VALUE *) fb_info.RegAddr)[s1dReg / sizeof(S1D_VALUE)] =
                                s1dValue;
                }
-               n = getenv_("contrast", tmp, sizeof (tmp));
+               n = getenv_f("contrast", tmp, sizeof (tmp));
                ((S1D_VALUE *) fb_info.RegAddr)[0xB3] =
                        (n > 0) ? (uchar) simple_strtoul (tmp, NULL, 10) * 255 / 100 : 0xA0;
                switch (bd->bi_busfreq) {