binaryPI: Replace CONFIG(ARCH_xx) test
Once we support building stages for different architectures, such CONFIG(ARCH_xx) tests do not evaluate correctly anymore. Not strictly required for binaryPI boards, but do this for consistency. Change-Id: Id0bbbfb6f695c4bb920bc57a1e9362a23884efb3 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42161 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
		
				
					committed by
					
						 Patrick Georgi
						Patrick Georgi
					
				
			
			
				
	
			
			
			
						parent
						
							9d1cbf1033
						
					
				
				
					commit
					d8bf22a863
				
			| @@ -12,12 +12,9 @@ | ||||
| #include <northbridge/amd/agesa/BiosCallOuts.h> | ||||
| #include <northbridge/amd/agesa/dimmSpd.h> | ||||
|  | ||||
| #if CONFIG(NORTHBRIDGE_AMD_PI) | ||||
| #if CONFIG(ARCH_ROMSTAGE_X86_64) || \ | ||||
| 	CONFIG(ARCH_RAMSTAGE_X86_64) | ||||
| #if ENV_X86_64 && CONFIG(NORTHBRIDGE_AMD_PI) | ||||
| #error "FIXME: CALLOUT_ENTRY is UINT32 Data, not UINT Data" | ||||
| #endif | ||||
| #endif | ||||
|  | ||||
| AGESA_STATUS GetBiosCallout (UINT32 Func, UINTN Data, VOID *ConfigPtr) | ||||
| { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user