summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/cimx
diff options
context:
space:
mode:
authorBruce Griffith <Bruce.Griffith@se-eng.com>2013-06-25 14:27:16 -0600
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-06-28 01:36:29 +0200
commit53abac1767c5c40ce0eafe729cd04cca1fcc8292 (patch)
treed77b65f5d137190edffdd2ed16f08a397b8eb2e3 /src/northbridge/amd/cimx
parent58fff9d44f14c750aacd63a700581f314d656ef8 (diff)
downloadcoreboot-53abac1767c5c40ce0eafe729cd04cca1fcc8292.tar.xz
amd/cimx/rd890/amd.h: Eliminate redefinition of NULL
This change replaces a redefinition of NULL with the standard definition from <stddef.h> to eliminate a compiler redefinition warning. Change-Id: I441fa569f545c0efb00284b5ee58aa27cb6617ba Signed-off-by: Bruce Griffith <Bruce.Griffith@se-eng.com> Reviewed-on: http://review.coreboot.org/3540 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/northbridge/amd/cimx')
-rw-r--r--src/northbridge/amd/cimx/rd890/amd.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/northbridge/amd/cimx/rd890/amd.h b/src/northbridge/amd/cimx/rd890/amd.h
index 1ceff80491..e7a9ca9a53 100644
--- a/src/northbridge/amd/cimx/rd890/amd.h
+++ b/src/northbridge/amd/cimx/rd890/amd.h
@@ -32,10 +32,7 @@
// AGESA Types and Definitions
//
//
-#ifndef NULL
- #define NULL 0
-#endif
-
+#include <stddef.h>
#define LAST_ENTRY 0xFFFFFFFF
#define IOCF8 0xCF8