From f03e56adada60a1b8ddcd4eca324878efbc540cb Mon Sep 17 00:00:00 2001 From: Heiko Schocher Date: Mon, 22 Jul 2019 06:49:05 +0200 Subject: [PATCH] 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 --- drivers/video/imx/mxc_ipuv3_fb.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.39.5