Author: stepan Date: 2009-03-06 19:39:54 +0100 (Fri, 06 Mar 2009) New Revision: 3980
Modified: trunk/coreboot-v2/src/southbridge/amd/cs5536/cs5536.c trunk/coreboot-v2/src/southbridge/via/vt8235/vt8235.c trunk/coreboot-v2/src/southbridge/via/vt8237r/vt8237r_lpc.c Log: use include file for i8259 where appropriate (trivial) Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/coreboot-v2/src/southbridge/amd/cs5536/cs5536.c =================================================================== --- trunk/coreboot-v2/src/southbridge/amd/cs5536/cs5536.c 2009-03-06 18:38:28 UTC (rev 3979) +++ trunk/coreboot-v2/src/southbridge/amd/cs5536/cs5536.c 2009-03-06 18:39:54 UTC (rev 3980) @@ -26,6 +26,7 @@ #include <stdint.h> #include <pc80/isa-dma.h> #include <pc80/mc146818rtc.h> +#include <pc80/i8259.h> #include <cpu/x86/msr.h> #include <cpu/amd/vr.h> #include <cpu/amd/geode_post_code.h> @@ -33,8 +34,6 @@ #include "chip.h" #include "cs5536.h"
-extern void setup_i8259(void); - struct msrinit { uint32_t msrnum; msr_t msr;
Modified: trunk/coreboot-v2/src/southbridge/via/vt8235/vt8235.c =================================================================== --- trunk/coreboot-v2/src/southbridge/via/vt8235/vt8235.c 2009-03-06 18:38:28 UTC (rev 3979) +++ trunk/coreboot-v2/src/southbridge/via/vt8235/vt8235.c 2009-03-06 18:39:54 UTC (rev 3980) @@ -4,6 +4,7 @@ #include <device/pci_ops.h> #include <device/pci_ids.h> #include <pc80/keyboard.h> +#include <pc80/i8259.h> #include "vt8235.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 2009-03-06 18:38:28 UTC (rev 3979) +++ trunk/coreboot-v2/src/southbridge/via/vt8237r/vt8237r_lpc.c 2009-03-06 18:39:54 UTC (rev 3980) @@ -27,6 +27,7 @@ #include <pc80/mc146818rtc.h> #include <cpu/x86/lapic.h> #include <pc80/keyboard.h> +#include <pc80/i8259.h> #include <stdlib.h> #include "vt8237r.h" #include "chip.h" @@ -47,7 +48,6 @@ #define INT (1 << 8)
extern void dump_south(device_t dev); -extern void setup_i8259(void);
static struct ioapicreg { u32 reg;