diff options
author | Sébastien Szymanski | 2019-10-21 15:33:04 +0200 |
---|---|---|
committer | Stefano Babic | 2019-11-03 17:04:16 +0100 |
commit | cde421cfc8f378fef9bd9b90e20c9633fe63d709 (patch) | |
tree | 355285aacc01aab8470fdb3a2b877f59a02b53f2 /drivers | |
parent | b1be79b4174b06d60335d2fac901e079fb27aa97 (diff) |
video: mxsfb: set gd->fb_base
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/mxsfb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index 6922a130c61..c52981053e9 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -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; } |