From: Simon Glass Date: Wed, 21 Aug 2024 16:18:56 +0000 (-0600) Subject: video: mxc: Avoid setting global_data fb_base X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=60fa5e9eff6e7cf1c257e7c104841deca16c44b9;p=u-boot.git video: mxc: 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/imx/mxc_ipuv3_fb.c b/drivers/video/imx/mxc_ipuv3_fb.c index 039b22086a..fdeb3cabea 100644 --- a/drivers/video/imx/mxc_ipuv3_fb.c +++ b/drivers/video/imx/mxc_ipuv3_fb.c @@ -403,7 +403,6 @@ static int mxcfb_map_video_memory(struct fb_info *fbi) (uint32_t) fbi->fix.smem_start, fbi->fix.smem_len); fbi->screen_size = fbi->fix.smem_len; - gd->fb_base = fbi->fix.smem_start; /* Clear the screen */ memset((char *)fbi->screen_base, 0, fbi->fix.smem_len); @@ -633,7 +632,6 @@ 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; }