summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSiyuan Wang <wangsiyuanbuaa@gmail.com>2012-09-07 19:16:58 +0800
committerMarc Jones <marcj303@gmail.com>2012-09-19 23:16:28 +0200
commita7f374fb68156ea0ee984438f3a0f2f63910733e (patch)
treefe0d56040d1a3c1223e460ba95ff2f04df01c27e /src
parent128c7d73151a539ebf8d1cbd6ea22d4661aa2a3d (diff)
downloadcoreboot-a7f374fb68156ea0ee984438f3a0f2f63910733e.tar.xz
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@amd.com> Signed-off-by: Siyuan Wang <wangsiyuanbuaa@gmail.com> Reviewed-on: http://review.coreboot.org/1499 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marcj303@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/southbridge/amd/cimx/sb700/Platform.h3
1 files changed, 3 insertions, 0 deletions
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