summaryrefslogtreecommitdiff
path: root/drivers/video/imx
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2019-07-22 06:49:05 +0200
committerAnatolij Gustschin <agust@denx.de>2019-07-30 12:55:06 +0200
commitf03e56adada60a1b8ddcd4eca324878efbc540cb (patch)
treed289bc0ec8b8561fcbb7017ffcd834553fee346c /drivers/video/imx
parent98a82798068331d1b3a137d21f96af169aecc7cf (diff)
downloadu-boot-f03e56adada60a1b8ddcd4eca324878efbc540cb.tar.gz
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 <hs@denx.de>
Diffstat (limited to 'drivers/video/imx')
-rw-r--r--drivers/video/imx/mxc_ipuv3_fb.c2
1 files changed, 2 insertions, 0 deletions
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;
}