From a7f374fb68156ea0ee984438f3a0f2f63910733e Mon Sep 17 00:00:00 2001 From: Siyuan Wang Date: Fri, 7 Sep 2012 19:16:58 +0800 Subject: 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 Signed-off-by: Siyuan Wang Reviewed-on: http://review.coreboot.org/1499 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones --- 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 d70345d4e9..d731edfefd 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 -- cgit v1.2.3