summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCorey Osgood <corey.osgood@gmail.com>2008-12-18 19:37:11 +0000
committerCorey Osgood <corey.osgood@gmail.com>2008-12-18 19:37:11 +0000
commit809242a71593e2a1b9661b956f2b952a911b2d4e (patch)
tree8522440108c77c1ba2db9863fed19a37437b7ad2 /src
parent43bb9cddddf90b996e6862d261024c9149fdd59c (diff)
downloadcoreboot-809242a71593e2a1b9661b956f2b952a911b2d4e.tar.xz
Fix implicit declaration in cn700/vt8237 code
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@3819 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/northbridge/via/cn700/vga.c1
-rw-r--r--src/northbridge/via/cn700/vgachip.h5
-rw-r--r--src/southbridge/via/vt8237r/vt8237r.c1
-rw-r--r--src/southbridge/via/vt8237r/vt8237r_lpc.c2
4 files changed, 8 insertions, 1 deletions
diff --git a/src/northbridge/via/cn700/vga.c b/src/northbridge/via/cn700/vga.c
index 11bcb1e0eb..6cc885fd4b 100644
--- a/src/northbridge/via/cn700/vga.c
+++ b/src/northbridge/via/cn700/vga.c
@@ -36,6 +36,7 @@
#include "chip.h"
#include "northbridge.h"
#include "cn700.h"
+#include "vgachip.h"
void write_protect_vgabios(void)
{
diff --git a/src/northbridge/via/cn700/vgachip.h b/src/northbridge/via/cn700/vgachip.h
index 0a5e631465..038ffec3ec 100644
--- a/src/northbridge/via/cn700/vgachip.h
+++ b/src/northbridge/via/cn700/vgachip.h
@@ -27,4 +27,9 @@ struct pc80_vgabios_config {
int nothing;
};
+void vga_enable_console(void);
+void do_vgabios(void);
+void setup_realmode_idt(void);
+void write_protect_vgabios(void);
+
#endif /* _PC80_VGABIOS */
diff --git a/src/southbridge/via/vt8237r/vt8237r.c b/src/southbridge/via/vt8237r/vt8237r.c
index 4ec49cd1c8..fbcb5f3abe 100644
--- a/src/southbridge/via/vt8237r/vt8237r.c
+++ b/src/southbridge/via/vt8237r/vt8237r.c
@@ -21,7 +21,6 @@
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
-#include <pc80/keyboard.h>
#include "chip.h"
/*
diff --git a/src/southbridge/via/vt8237r/vt8237r_lpc.c b/src/southbridge/via/vt8237r/vt8237r_lpc.c
index 78c973fba0..0476eec7e3 100644
--- a/src/southbridge/via/vt8237r/vt8237r_lpc.c
+++ b/src/southbridge/via/vt8237r/vt8237r_lpc.c
@@ -26,6 +26,7 @@
#include <device/pci_ids.h>
#include <pc80/mc146818rtc.h>
#include <cpu/x86/lapic.h>
+#include <pc80/keyboard.h>
#include <stdlib.h>
#include "vt8237r.h"
#include "chip.h"
@@ -46,6 +47,7 @@
#define INT (1 << 8)
extern void dump_south(device_t dev);
+extern void setup_i8259(void);
static struct ioapicreg {
u32 reg;