summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;