Fix AMD SB800 (cimx) southbridge code to compile with gcc 4.6
Change-Id: I672135a9b6e3b641ceb655cb00d40ee760c17edc Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/268 Tested-by: build bot (Jenkins) Reviewed-by: Uwe Hermann <uwe@hermann-uwe.de>
This commit is contained in:
parent
86fc9848ae
commit
971ebd8ee6
|
@ -155,4 +155,7 @@ typedef union _PCI_ADDR {
|
|||
#define cimEhciTrafficHandingDefault FALSE
|
||||
#define cimFusionMsgCMultiCoreDefault FALSE
|
||||
#define cimFusionMsgCStageDefault FALSE
|
||||
|
||||
#include "vendorcode/amd/cimx/sb800/AMDSBLIB.h"
|
||||
|
||||
#endif // _AMD_SBPLATFORM_H_
|
||||
|
|
|
@ -43,6 +43,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __VENDORCODE_AMD_CIMX_SB800_AMDSBLIB_H__
|
||||
#define __VENDORCODE_AMD_CIMX_SB800_AMDSBLIB_H__
|
||||
|
||||
//AMDSBLIB Routines
|
||||
|
||||
|
@ -116,3 +118,5 @@ void WriteIo32(IN unsigned short Address, IN unsigned int Data);
|
|||
//void CpuidRead(IN unsigned int CpuidFcnAddress, OUT CPUID_DATA *Value);
|
||||
void CpuidRead(unsigned int CpuidFcnAddress, CPUID_DATA *Value);
|
||||
unsigned char ReadNumberOfCpuCores(void);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue