summaryrefslogtreecommitdiff
path: root/src/southbridge/via
diff options
context:
space:
mode:
authorCorey Osgood <corey.osgood@gmail.com>2008-12-19 03:36:48 +0000
committerCorey Osgood <corey.osgood@gmail.com>2008-12-19 03:36:48 +0000
commite562f7258e573e52ab6e81f85f400999c3d9caaa (patch)
treecb853f5f7039e0e0668c12b6ea1c837eb698a3d7 /src/southbridge/via
parent716e5670fe5a2edcb66e587ec5a31377b2099ba8 (diff)
Fix a LOT of implicit function declarations before they become errors.
Signed-off-by: Corey Osgood <corey.osgood@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3822 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/via')
-rw-r--r--src/southbridge/via/k8t890/k8t890.h4
-rw-r--r--src/southbridge/via/k8t890/k8t890_bridge.c1
-rw-r--r--src/southbridge/via/k8t890/k8t890_host_ctrl.c1
-rw-r--r--src/southbridge/via/k8t890/k8t890_pcie.c1
-rw-r--r--src/southbridge/via/k8t890/k8t890_traf_ctrl.c2
5 files changed, 9 insertions, 0 deletions
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 <device/device.h>
+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 <device/pci.h>
#include <device/pci_ids.h>
#include <console/console.h>
+#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 <device/pci_ops.h>
#include <device/pci_ids.h>
#include <console/console.h>
+#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 <device/pci.h>
#include <device/pciexp.h>
#include <device/pci_ids.h>
+#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 <console/console.h>
#include "k8t890.h"
+extern unsigned long log2(unsigned long x);
+
static void mmconfig_set_resources(device_t dev)
{
struct resource *resource;