From 809242a71593e2a1b9661b956f2b952a911b2d4e Mon Sep 17 00:00:00 2001 From: Corey Osgood Date: Thu, 18 Dec 2008 19:37:11 +0000 Subject: Fix implicit declaration in cn700/vt8237 code Signed-off-by: Corey Osgood Acked-by: Myles Watson git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3819 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/via/cn700/vga.c | 1 + src/northbridge/via/cn700/vgachip.h | 5 +++++ src/southbridge/via/vt8237r/vt8237r.c | 1 - src/southbridge/via/vt8237r/vt8237r_lpc.c | 2 ++ 4 files changed, 8 insertions(+), 1 deletion(-) (limited to 'src') 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 #include #include -#include #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 #include #include +#include #include #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; -- cgit v1.2.3