mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	video: mxc: Avoid setting global_data fb_base
This is not used, so don't set it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
		
							parent
							
								
									b5c5923e4e
								
							
						
					
					
						commit
						60fa5e9eff
					
				@ -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;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user