Bruce Griffith (Bruce.Griffith@se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3540
-gerrit
commit caa76837d8b93533c5635d6fd579f651a2a35edd Author: Bruce Griffith Bruce.Griffith@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 warning.
Change-Id: I441fa569f545c0efb00284b5ee58aa27cb6617ba Signed-off-by: Bruce Griffith Bruce.Griffith@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 -#endif - +#include <stddef.h>
#define LAST_ENTRY 0xFFFFFFFF #define IOCF8 0xCF8