X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=common%2Fsplash.c;h=d251b3b6547018f75faca2da742e89edd53af319;hb=67a2616af18bbb38905b90ed1c6b66659671e1da;hp=89af437f2cafec3c648b13dc273e1fe4c1e4d287;hpb=c98b171e1098f94b2ff7720c45a25a602882f876;p=u-boot diff --git a/common/splash.c b/common/splash.c index 89af437f2c..d251b3b654 100644 --- a/common/splash.c +++ b/common/splash.c @@ -60,7 +60,7 @@ __weak int splash_screen_prepare(void) #ifdef CONFIG_SPLASH_SCREEN_ALIGN void splash_get_pos(int *x, int *y) { - char *s = getenv("splashpos"); + char *s = env_get("splashpos"); if (!s) return;