treewide: Replace CONFIG(ARCH_xx) tests
Once we support building stages for different architectures, such CONFIG(ARCH_xx) tests do not evaluate correctly anymore. Change-Id: I599995b3ed5c4dfd578c87067fe8bfc8c75b9d43 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42183 Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
		
				
					committed by
					
						 Angel Pons
						Angel Pons
					
				
			
			
				
	
			
			
			
						parent
						
							5edbb1c5d9
						
					
				
				
					commit
					7336f97deb
				
			| @@ -501,7 +501,7 @@ detailed_block(struct edid *result_edid, unsigned char *x, int in_extension, | ||||
| 	 * another call to edid_set_framebuffer_bits_per_pixel(). As a cheap | ||||
| 	 * heuristic, assume that X86 systems require a 64-byte row alignment | ||||
| 	 * (since that seems to be true for most Intel chipsets). */ | ||||
| 	if (CONFIG(ARCH_X86)) | ||||
| 	if (ENV_X86) | ||||
| 		edid_set_framebuffer_bits_per_pixel(out, 32, 64); | ||||
| 	else | ||||
| 		edid_set_framebuffer_bits_per_pixel(out, 32, 0); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user