summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-03-06 18:39:54 +0000
committerStefan Reinauer <stepan@openbios.org>2009-03-06 18:39:54 +0000
commitae762b5d3b84b2b6f8cf80195d10e9544605aa4a (patch)
tree726e1d0ed29d1a6e0624fb3391f69101d00415d3
parent1894463787300242a05f83e7cf0d24348933b571 (diff)
use include file for i8259 where appropriate (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3980 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/southbridge/amd/cs5536/cs5536.c3
-rw-r--r--src/southbridge/via/vt8235/vt8235.c1
-rw-r--r--src/southbridge/via/vt8237r/vt8237r_lpc.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/southbridge/amd/cs5536/cs5536.c b/src/southbridge/amd/cs5536/cs5536.c
index e9dc868df1..4169275b6f 100644
--- a/src/southbridge/amd/cs5536/cs5536.c
+++ b/src/southbridge/amd/cs5536/cs5536.c
@@ -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;
diff --git a/src/southbridge/via/vt8235/vt8235.c b/src/southbridge/via/vt8235/vt8235.c
index 2d732142d9..dfb7f6bbed 100644
--- a/src/southbridge/via/vt8235/vt8235.c
+++ b/src/southbridge/via/vt8235/vt8235.c
@@ -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"
diff --git a/src/southbridge/via/vt8237r/vt8237r_lpc.c b/src/southbridge/via/vt8237r/vt8237r_lpc.c
index 0476eec7e3..4fbc29575a 100644
--- a/src/southbridge/via/vt8237r/vt8237r_lpc.c
+++ b/src/southbridge/via/vt8237r/vt8237r_lpc.c
@@ -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;