mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-17 15:27:00 +00:00
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>
This commit is contained in:
parent
98a8279806
commit
f03e56adad
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue