video: mxsfb: set gd->fb_base
authorSébastien Szymanski <sebastien.szymanski@armadeus.com>
Mon, 21 Oct 2019 13:33:04 +0000 (15:33 +0200)
committerStefano Babic <sbabic@denx.de>
Sun, 3 Nov 2019 16:04:16 +0000 (17:04 +0100)
Set gd->fb_base so it can be shown with bdinfo command.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
drivers/video/mxsfb.c

index 6922a130c61a12ac922c124485f017deb4befbab..c52981053e99ac31476a48f3d0e3d45dc3030295 100644 (file)
@@ -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;
 }