Author: cozzie Date: 2008-12-18 20:37:11 +0100 (Thu, 18 Dec 2008) New Revision: 3819
Modified: trunk/coreboot-v2/src/northbridge/via/cn700/vga.c trunk/coreboot-v2/src/northbridge/via/cn700/vgachip.h trunk/coreboot-v2/src/southbridge/via/vt8237r/vt8237r.c trunk/coreboot-v2/src/southbridge/via/vt8237r/vt8237r_lpc.c Log: Fix implicit declaration in cn700/vt8237 code
Signed-off-by: Corey Osgood corey.osgood@gmail.com Acked-by: Myles Watson mylesgw@gmail.com
Modified: trunk/coreboot-v2/src/northbridge/via/cn700/vga.c =================================================================== --- trunk/coreboot-v2/src/northbridge/via/cn700/vga.c 2008-12-18 18:24:11 UTC (rev 3818) +++ trunk/coreboot-v2/src/northbridge/via/cn700/vga.c 2008-12-18 19:37:11 UTC (rev 3819) @@ -36,6 +36,7 @@ #include "chip.h" #include "northbridge.h" #include "cn700.h" +#include "vgachip.h"
void write_protect_vgabios(void) {
Modified: trunk/coreboot-v2/src/northbridge/via/cn700/vgachip.h =================================================================== --- trunk/coreboot-v2/src/northbridge/via/cn700/vgachip.h 2008-12-18 18:24:11 UTC (rev 3818) +++ trunk/coreboot-v2/src/northbridge/via/cn700/vgachip.h 2008-12-18 19:37:11 UTC (rev 3819) @@ -27,4 +27,9 @@ int nothing; };
+void vga_enable_console(void); +void do_vgabios(void); +void setup_realmode_idt(void); +void write_protect_vgabios(void); + #endif /* _PC80_VGABIOS */
Modified: trunk/coreboot-v2/src/southbridge/via/vt8237r/vt8237r.c =================================================================== --- trunk/coreboot-v2/src/southbridge/via/vt8237r/vt8237r.c 2008-12-18 18:24:11 UTC (rev 3818) +++ trunk/coreboot-v2/src/southbridge/via/vt8237r/vt8237r.c 2008-12-18 19:37:11 UTC (rev 3819) @@ -21,7 +21,6 @@ #include <device/device.h> #include <device/pci.h> #include <device/pci_ids.h> -#include <pc80/keyboard.h> #include "chip.h"
/*
Modified: trunk/coreboot-v2/src/southbridge/via/vt8237r/vt8237r_lpc.c =================================================================== --- trunk/coreboot-v2/src/southbridge/via/vt8237r/vt8237r_lpc.c 2008-12-18 18:24:11 UTC (rev 3818) +++ trunk/coreboot-v2/src/southbridge/via/vt8237r/vt8237r_lpc.c 2008-12-18 19:37:11 UTC (rev 3819) @@ -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;