[coreboot] New patch to review for coreboot: 00eaf4d cimx sb700: change Platform.h to remove some warnings

Siyuan Wang (wangsiyuanbuaa@gmail.com) gerrit at coreboot.org
Fri Sep 7 11:24:44 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/1499

-gerrit

commit 00eaf4d61f21aa7cf477a10b8161e6d0c320c594
Author: Siyuan Wang <wangsiyuanbuaa at gmail.com>
Date:   Fri Sep 7 19:16:58 2012 +0800

    cimx sb700: change Platform.h to remove some warnings
    
    TRACE has redefined warnings in src/southbridge/amd/cimx/sb700/Platform.h,
    so we do some changes to remove such warnings.
    
    Change-Id: I24979e08b83434f91a8fa37cd9f16303fa0b298d
    Signed-off-by: Siyuan Wang <SiYuan.Wang at amd.com>
    Signed-off-by: Siyuan Wang <wangsiyuanbuaa at gmail.com>
---
 src/southbridge/amd/cimx/sb700/Platform.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/southbridge/amd/cimx/sb700/Platform.h b/src/southbridge/amd/cimx/sb700/Platform.h
index d70345d..d731edf 100644
--- a/src/southbridge/amd/cimx/sb700/Platform.h
+++ b/src/southbridge/amd/cimx/sb700/Platform.h
@@ -60,6 +60,9 @@ void    TraceCode ( UINT32 Level, UINT32 Code);
 #define TRACECODE(Arguments)
 #endif
 #else
+	#ifdef TRACE
+		#undef TRACE
+	#endif
 	#if CONFIG_REDIRECT_SBCIMX_TRACE_TO_SERIAL
 		#define TRACE(Arguments) printk Arguments
 	#else




More information about the coreboot mailing list