[coreboot-gerrit] New patch to review for coreboot: 1871477 CIMX: Eliminate redefinition of NULL in the RD890 wrapper

Bruce Griffith (Bruce.Griffith@se-eng.com) gerrit at coreboot.org
Wed Jun 26 11:08:15 CEST 2013

Bruce Griffith (Bruce.Griffith at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3540


commit 18714774455aa3a95e92c372c9fd8e36ae56e38d
Author: Bruce Griffith <Bruce.Griffith at se-eng.com>
Date:   Tue Jun 25 14:27:16 2013 -0600

    CIMX: Eliminate redefinition of NULL in the RD890 wrapper
    This change replaces a redefinition of NULL with the standard
    definition from <stddef.h> to eliminate a compiler redefinition
    Change-Id: I441fa569f545c0efb00284b5ee58aa27cb6617ba
    Signed-off-by: Bruce Griffith <Bruce.Griffith at se-eng.com>
 src/northbridge/amd/cimx/rd890/amd.h | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/northbridge/amd/cimx/rd890/amd.h b/src/northbridge/amd/cimx/rd890/amd.h
index 1ceff80..e7a9ca9 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
+#include <stddef.h>
 #define IOCF8 0xCF8

More information about the coreboot-gerrit mailing list