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/southbridge/via/k8t890/k8t890.h | 4 ++++ src/southbridge/via/k8t890/k8t890_bridge.c | 1 + src/southbridge/via/k8t890/k8t890_host_ctrl.c | 1 + src/southbridge/via/k8t890/k8t890_pcie.c | 1 + src/southbridge/via/k8t890/k8t890_traf_ctrl.c | 2 ++ 5 files changed, 9 insertions(+) (limited to 'src/southbridge/via/k8t890') diff --git a/src/southbridge/via/k8t890/k8t890.h b/src/southbridge/via/k8t890/k8t890.h index 63f8d20926..9159b53d5c 100644 --- a/src/southbridge/via/k8t890/k8t890.h +++ b/src/southbridge/via/k8t890/k8t890.h @@ -35,4 +35,8 @@ /* the FB size in MB (min is 8MB max is 512MB) */ #define K8M890_FBSIZEMB 64 +#include +extern void writeback(struct device *dev, u16 where, u8 what); +extern void dump_south(device_t dev); + #endif diff --git a/src/southbridge/via/k8t890/k8t890_bridge.c b/src/southbridge/via/k8t890/k8t890_bridge.c index 44347127f6..1948246eea 100644 --- a/src/southbridge/via/k8t890/k8t890_bridge.c +++ b/src/southbridge/via/k8t890/k8t890_bridge.c @@ -21,6 +21,7 @@ #include #include #include +#include "k8t890.h" static void bridge_enable(struct device *dev) { diff --git a/src/southbridge/via/k8t890/k8t890_host_ctrl.c b/src/southbridge/via/k8t890/k8t890_host_ctrl.c index faa498e8b0..71f863bdc8 100644 --- a/src/southbridge/via/k8t890/k8t890_host_ctrl.c +++ b/src/southbridge/via/k8t890/k8t890_host_ctrl.c @@ -22,6 +22,7 @@ #include #include #include +#include "k8t890.h" /* this may be later merged */ diff --git a/src/southbridge/via/k8t890/k8t890_pcie.c b/src/southbridge/via/k8t890/k8t890_pcie.c index 6a7acbbfed..5d74152fd2 100644 --- a/src/southbridge/via/k8t890/k8t890_pcie.c +++ b/src/southbridge/via/k8t890/k8t890_pcie.c @@ -22,6 +22,7 @@ #include #include #include +#include "k8t890.h" static void peg_init(struct device *dev) { diff --git a/src/southbridge/via/k8t890/k8t890_traf_ctrl.c b/src/southbridge/via/k8t890/k8t890_traf_ctrl.c index a61c56d155..a5906cfe31 100644 --- a/src/southbridge/via/k8t890/k8t890_traf_ctrl.c +++ b/src/southbridge/via/k8t890/k8t890_traf_ctrl.c @@ -23,6 +23,8 @@ #include #include "k8t890.h" +extern unsigned long log2(unsigned long x); + static void mmconfig_set_resources(device_t dev) { struct resource *resource; -- cgit v1.2.3