Wei Hu (wei@aristanetworks.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3899
-gerrit
commit 569475d2050fe628466c4b2d1153fae6d1835f98 Author: Wei Hu wei@aristanetworks.com Date: Wed Sep 4 03:01:45 2013 -0700
Fix compile errors in AMD Fam16 AGESA code with gcc 4.5.
Change-Id: I27f5b8d5d0e5559e06bf8bddbeefe24bfe71c384 Signed-off-by: Wei Hu wei@aristanetworks.com --- src/vendorcode/amd/agesa/f16kb/Proc/CPU/Feature/cpuHtc.h | 4 ++-- src/vendorcode/amd/agesa/f16kb/Proc/CPU/Feature/cpuPsi.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/vendorcode/amd/agesa/f16kb/Proc/CPU/Feature/cpuHtc.h b/src/vendorcode/amd/agesa/f16kb/Proc/CPU/Feature/cpuHtc.h index 913802f..38d7d16 100644 --- a/src/vendorcode/amd/agesa/f16kb/Proc/CPU/Feature/cpuHtc.h +++ b/src/vendorcode/amd/agesa/f16kb/Proc/CPU/Feature/cpuHtc.h @@ -114,12 +114,12 @@ typedef F_HTC_INIT *PF_HTC_INIT; * Each supported Family must provide an implementation for all methods in this interface, even if the * implementation is a CommonReturn(). */ -typedef struct _HTC_FAMILY_SERVICES { +struct _HTC_FAMILY_SERVICES { UINT16 Revision; ///< Interface version // Public Methods. PF_HTC_IS_SUPPORTED IsHtcSupported; ///< Method: Family specific call to check if HTC is supported. PF_HTC_INIT EnableHtcOnSocket; ///< Method: Family specific call to enable HTC. -} HTC_FAMILY_SERVICES; +};
/*---------------------------------------------------------------------------------------- diff --git a/src/vendorcode/amd/agesa/f16kb/Proc/CPU/Feature/cpuPsi.h b/src/vendorcode/amd/agesa/f16kb/Proc/CPU/Feature/cpuPsi.h index ad2a5e5..44f3837 100644 --- a/src/vendorcode/amd/agesa/f16kb/Proc/CPU/Feature/cpuPsi.h +++ b/src/vendorcode/amd/agesa/f16kb/Proc/CPU/Feature/cpuPsi.h @@ -114,12 +114,12 @@ typedef F_PSI_INIT *PF_PSI_INIT; * Each supported Family must provide an implementation for all methods in this interface, even if the * implementation is a CommonReturn(). */ -typedef struct _PSI_FAMILY_SERVICES { +struct _PSI_FAMILY_SERVICES { UINT16 Revision; ///< Interface version // Public Methods. PF_PSI_IS_SUPPORTED IsPsiSupported; ///< Method: Family specific call to check if PSI is supported. PF_PSI_INIT EnablePsiOnSocket; ///< Method: Family specific call to enable PSI. -} PSI_FAMILY_SERVICES; +};
/*----------------------------------------------------------------------------------------