[coreboot-gerrit] Patch set updated for coreboot: fcd4723 amd/cimx/rd890/amd.h: Eliminate redefinition of NULL

Paul Menzel (paulepanter@users.sourceforge.net) gerrit at coreboot.org
Thu Jun 27 01:27:57 CEST 2013

Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3540


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

    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
    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