[coreboot] Patch set updated for coreboot: af7e4d4 Fix AMD SB800 (cimx) southbridge code to compile with gcc 4.6
Stefan Reinauer (stefan.reinauer@coreboot.org)
gerrit at coreboot.org
Fri Oct 14 19:25:28 CEST 2011
Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/268
-gerrit
commit af7e4d4a5ac58ca80344ef01810387bd8271207a
Author: Stefan Reinauer <reinauer at google.com>
Date: Thu Oct 13 17:26:43 2011 -0700
Fix AMD SB800 (cimx) southbridge code to compile with gcc 4.6
Change-Id: I672135a9b6e3b641ceb655cb00d40ee760c17edc
Signed-off-by: Stefan Reinauer <reinauer at google.com>
---
src/southbridge/amd/cimx/sb800/SBPLATFORM.h | 3 +++
src/vendorcode/amd/cimx/sb800/AMDSBLIB.h | 4 ++++
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/southbridge/amd/cimx/sb800/SBPLATFORM.h b/src/southbridge/amd/cimx/sb800/SBPLATFORM.h
index 164a651..d7317a2 100644
--- a/src/southbridge/amd/cimx/sb800/SBPLATFORM.h
+++ b/src/southbridge/amd/cimx/sb800/SBPLATFORM.h
@@ -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_
diff --git a/src/vendorcode/amd/cimx/sb800/AMDSBLIB.h b/src/vendorcode/amd/cimx/sb800/AMDSBLIB.h
index 6c92227..b2a0a1b 100644
--- a/src/vendorcode/amd/cimx/sb800/AMDSBLIB.h
+++ b/src/vendorcode/amd/cimx/sb800/AMDSBLIB.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
More information about the coreboot
mailing list