[coreboot] New patch to review for coreboot: 8bd5bc7 change conflicted typedef in src/vendorcode/amd/agesa/f15/Porting.h

Siyuan Wang (wangsiyuanbuaa@gmail.com) gerrit at coreboot.org
Fri Oct 19 15:23:24 CEST 2012

Siyuan Wang (wangsiyuanbuaa at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1592


commit 8bd5bc79149bbe98d2bf8052b5f01b16ccae0e64
Author: Siyuan Wang <wangsiyuanbuaa at gmail.com>
Date:   Fri Oct 19 21:02:39 2012 +0800

    change conflicted typedef in src/vendorcode/amd/agesa/f15/Porting.h
    src/vendorcode/amd/agesa/f15/Porting.h has some conflicted typedef with
    src/include/cpu/amd/common/cbtypes.h. These conflicted defines can lead to errors.
    Change-Id: Idad0794018bf0bd0e4e52a5aa062a12766d56c8e
    Signed-off-by: Siyuan Wang <SiYuan.Wang at amd.com>
    Signed-off-by: Siyuan Wang <wangsiyuanbuaa at gmail.com>
 src/vendorcode/amd/agesa/f15/Porting.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/vendorcode/amd/agesa/f15/Porting.h b/src/vendorcode/amd/agesa/f15/Porting.h
index 48ac390..4cd8d1c 100644
--- a/src/vendorcode/amd/agesa/f15/Porting.h
+++ b/src/vendorcode/amd/agesa/f15/Porting.h
@@ -232,12 +232,12 @@
   typedef unsigned char  BOOLEAN;
   typedef   signed char  INT8;
   typedef   signed short INT16;
-  typedef   signed long  INT32;
-  typedef unsigned char  CHAR8;
+  typedef   signed int  INT32;
+  typedef   signed char  CHAR8;
   typedef unsigned char  UINT8;
   typedef unsigned short UINT16;
-  typedef unsigned long  UINT32;
-  typedef unsigned long  UINTN;
+  typedef unsigned int  UINT32;
+  typedef unsigned int  UINTN;
   typedef unsigned long  long UINT64;
   typedef void VOID;
   //typedef unsigned long  size_t;

More information about the coreboot mailing list