aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSébastien Szymanski2019-10-21 15:33:04 +0200
committerStefano Babic2019-11-03 17:04:16 +0100
commitcde421cfc8f378fef9bd9b90e20c9633fe63d709 (patch)
tree355285aacc01aab8470fdb3a2b877f59a02b53f2 /drivers
parentb1be79b4174b06d60335d2fac901e079fb27aa97 (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.c1
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;
}