From: Heiko Schocher Date: Mon, 22 Jul 2019 04:49:05 +0000 (+0200) Subject: mxc_ipuv3_fb.c: set gd->fb_base X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=f03e56adada60a1b8ddcd4eca324878efbc540cb;p=u-boot.git mxc_ipuv3_fb.c: set gd->fb_base set gd->fb_base so it can be shown with bdinfo command. Signed-off-by: Heiko Schocher --- diff --git a/drivers/video/imx/mxc_ipuv3_fb.c b/drivers/video/imx/mxc_ipuv3_fb.c index 29ecac40a2..cf672156cd 100644 --- a/drivers/video/imx/mxc_ipuv3_fb.c +++ b/drivers/video/imx/mxc_ipuv3_fb.c @@ -609,6 +609,7 @@ void *video_hw_init(void) ret = mxcfb_probe(gpixfmt, gdisp, gmode); debug("Framebuffer at 0x%x\n", (unsigned int)panel.frameAdrs); + gd->fb_base = panel.frameAdrs; return (void *)&panel; } @@ -665,6 +666,7 @@ static int ipuv3_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 = fb_start; return 0; }