From: Simon Glass Date: Wed, 21 Aug 2024 16:18:57 +0000 (-0600) Subject: video: mxs: Avoid setting global_data fb_base X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/%7B%7B%20.Permalink%20%7D%7D?a=commitdiff_plain;h=1a36338e6818ac4ca5965b50a733cbc70ee9eec8;p=u-boot.git video: mxs: Avoid setting global_data fb_base This is not used, so don't set it. Signed-off-by: Simon Glass --- diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index 792d6314d1..e72839cead 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -335,7 +335,6 @@ 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; }