From e562f7258e573e52ab6e81f85f400999c3d9caaa Mon Sep 17 00:00:00 2001 From: Corey Osgood Date: Fri, 19 Dec 2008 03:36:48 +0000 Subject: Fix a LOT of implicit function declarations before they become errors. Signed-off-by: Corey Osgood Acked-by: Myles Watson git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3822 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/gx2/chipsetinit.c | 2 +- src/northbridge/amd/gx2/northbridge.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/northbridge/amd/gx2') diff --git a/src/northbridge/amd/gx2/chipsetinit.c b/src/northbridge/amd/gx2/chipsetinit.c index e75135d719..53a90535a5 100644 --- a/src/northbridge/amd/gx2/chipsetinit.c +++ b/src/northbridge/amd/gx2/chipsetinit.c @@ -14,7 +14,7 @@ #include #include "../../../southbridge/amd/cs5536/cs5536.h" - +extern int sizeram(void); /* the structs in this file only set msr.lo. But ... that may not always be true */ struct msrinit { diff --git a/src/northbridge/amd/gx2/northbridge.c b/src/northbridge/amd/gx2/northbridge.c index c035931ebe..7702d3b5a7 100644 --- a/src/northbridge/amd/gx2/northbridge.c +++ b/src/northbridge/amd/gx2/northbridge.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "../../../southbridge/amd/cs5536/cs5536.h" #define VIDEO_MB 8 -- cgit v1.2.3