[coreboot-gerrit] Patch set updated for coreboot: caa7683 CIMX: Eliminate redefinition of NULL in the RD890 wrapper

Bruce Griffith (Bruce.Griffith@se-eng.com) gerrit at coreboot.org
Wed Jun 26 12:05:29 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 caa76837d8b93533c5635d6fd579f651a2a35edd
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