mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-11-04 02:11:25 +01:00 
			
		
		
		
	Correct SPL use of VIDEO_BPP16
This converts 1 usage of this option to the non-SPL form, since there is no SPL_VIDEO_BPP16 defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
		
							parent
							
								
									2fe2ac139f
								
							
						
					
					
						commit
						72129e088a
					
				@ -196,7 +196,7 @@ u32 video_index_to_colour(struct video_priv *priv, unsigned int idx)
 | 
			
		||||
{
 | 
			
		||||
	switch (priv->bpix) {
 | 
			
		||||
	case VIDEO_BPP16:
 | 
			
		||||
		if (CONFIG_IS_ENABLED(VIDEO_BPP16)) {
 | 
			
		||||
		if (IS_ENABLED(CONFIG_VIDEO_BPP16)) {
 | 
			
		||||
			return ((colours[idx].r >> 3) << 11) |
 | 
			
		||||
			       ((colours[idx].g >> 2) <<  5) |
 | 
			
		||||
			       ((colours[idx].b >> 3) <<  0);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user