summaryrefslogtreecommitdiff
path: root/src/mainboard/gigabyte/m57sli
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-04-07 15:30:11 +0000
committerStefan Reinauer <stepan@openbios.org>2010-04-07 15:30:11 +0000
commite9de1e2609dfeab0b638b1e8facd642a88428745 (patch)
tree3e6b7a06e081ee57e2893f2bd3af08634b22ccec /src/mainboard/gigabyte/m57sli
parent135a966d34123cbc4ab5959f92e5364651c1ad55 (diff)
move amd K8/Fam10 "bus detection" function prototypes to a common place.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5370 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/gigabyte/m57sli')
-rw-r--r--src/mainboard/gigabyte/m57sli/acpi_tables.c2
-rw-r--r--src/mainboard/gigabyte/m57sli/get_bus_conf.c2
-rw-r--r--src/mainboard/gigabyte/m57sli/irq_tables.c2
-rw-r--r--src/mainboard/gigabyte/m57sli/mptable.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/gigabyte/m57sli/acpi_tables.c b/src/mainboard/gigabyte/m57sli/acpi_tables.c
index 092a4ef741..2f39c6411d 100644
--- a/src/mainboard/gigabyte/m57sli/acpi_tables.c
+++ b/src/mainboard/gigabyte/m57sli/acpi_tables.c
@@ -47,7 +47,7 @@ unsigned long acpi_fill_madt(unsigned long current)
unsigned int gsi_base = 0x18;
extern unsigned char bus_mcp55[8];
extern unsigned apicid_mcp55;
- extern void get_bus_conf(void);
+
unsigned sbdn;
struct resource *res;
device_t dev;
diff --git a/src/mainboard/gigabyte/m57sli/get_bus_conf.c b/src/mainboard/gigabyte/m57sli/get_bus_conf.c
index 771adf5ebf..4d381a6e8e 100644
--- a/src/mainboard/gigabyte/m57sli/get_bus_conf.c
+++ b/src/mainboard/gigabyte/m57sli/get_bus_conf.c
@@ -64,7 +64,7 @@ unsigned hcdnx[] =
};
unsigned bus_type[256];
-extern void get_sblk_pci1234(void);
+
static unsigned get_bus_conf_done = 0;
diff --git a/src/mainboard/gigabyte/m57sli/irq_tables.c b/src/mainboard/gigabyte/m57sli/irq_tables.c
index 284abfe4db..5cb6d8420c 100644
--- a/src/mainboard/gigabyte/m57sli/irq_tables.c
+++ b/src/mainboard/gigabyte/m57sli/irq_tables.c
@@ -53,7 +53,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev
extern unsigned char bus_isa;
extern unsigned char bus_mcp55[8]; //1
-extern void get_bus_conf(void);
+
unsigned long write_pirq_routing_table(unsigned long addr)
{
diff --git a/src/mainboard/gigabyte/m57sli/mptable.c b/src/mainboard/gigabyte/m57sli/mptable.c
index ce765c10ca..3c5f5a2a86 100644
--- a/src/mainboard/gigabyte/m57sli/mptable.c
+++ b/src/mainboard/gigabyte/m57sli/mptable.c
@@ -34,7 +34,7 @@ extern unsigned apicid_mcp55;
extern unsigned bus_type[256];
-extern void get_bus_conf(void);
+
static void *smp_write_config_table(void *v)
{