X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fvideo%2Fmxsfb.c;h=9d810bab31dee19a24241f9f75f78ad3e8686c07;hb=bb7ab1ccfec9aa4e2df3e8eb49ca85f6c0c65560;hp=20455ffb54219e9965bbd989c0e601d1392d50ae;hpb=b7b24a7a3cd74bb165d28a2959ed9143e3648fbf;p=u-boot diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index 20455ffb54..9d810bab31 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -15,7 +15,7 @@ #include #include -#include +#include #include "videomodes.h" @@ -161,7 +161,7 @@ void *video_hw_init(void) puts("Video: "); /* Suck display configuration from "videomode" variable */ - penv = getenv("videomode"); + penv = env_get("videomode"); if (!penv) { puts("MXSFB: 'videomode' variable not set!\n"); return NULL;