From: Sébastien Szymanski Date: Mon, 21 Oct 2019 13:33:04 +0000 (+0200) Subject: video: mxsfb: set gd->fb_base X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=cde421cfc8f378fef9bd9b90e20c9633fe63d709;p=u-boot.git video: mxsfb: set gd->fb_base Set gd->fb_base so it can be shown with bdinfo command. Signed-off-by: Sébastien Szymanski Reviewed-by: Peng Fan --- diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index 6922a130c6..c52981053e 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -367,6 +367,7 @@ static int mxs_video_probe(struct udevice *dev) mmu_set_region_dcache_behaviour(fb_start, fb_end - fb_start, DCACHE_WRITEBACK); video_set_flush_dcache(dev, true); + gd->fb_base = plat->base; return ret; }