summaryrefslogtreecommitdiff
path: root/src/mainboard/asrock
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/asrock
parent135a966d34123cbc4ab5959f92e5364651c1ad55 (diff)
downloadcoreboot-e9de1e2609dfeab0b638b1e8facd642a88428745.tar.xz
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/asrock')
-rw-r--r--src/mainboard/asrock/939a785gmh/acpi_tables.c2
-rw-r--r--src/mainboard/asrock/939a785gmh/get_bus_conf.c2
-rw-r--r--src/mainboard/asrock/939a785gmh/irq_tables.c2
-rw-r--r--src/mainboard/asrock/939a785gmh/mptable.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/asrock/939a785gmh/acpi_tables.c b/src/mainboard/asrock/939a785gmh/acpi_tables.c
index 08b15ea046..692b0f2fcf 100644
--- a/src/mainboard/asrock/939a785gmh/acpi_tables.c
+++ b/src/mainboard/asrock/939a785gmh/acpi_tables.c
@@ -99,7 +99,7 @@ unsigned long acpi_fill_madt(unsigned long current)
return current;
}
-extern void get_bus_conf(void);
+
#if CONFIG_ACPI_SSDTX_NUM >= 1
static void update_ssdtx(void *ssdtx, int i)
diff --git a/src/mainboard/asrock/939a785gmh/get_bus_conf.c b/src/mainboard/asrock/939a785gmh/get_bus_conf.c
index 1c319ec585..e3c7acd226 100644
--- a/src/mainboard/asrock/939a785gmh/get_bus_conf.c
+++ b/src/mainboard/asrock/939a785gmh/get_bus_conf.c
@@ -59,7 +59,7 @@ u32 bus_type[256];
u32 sbdn_rs780;
u32 sbdn_sb700;
-extern void get_sblk_pci1234(void);
+
static u32 get_bus_conf_done = 0;
diff --git a/src/mainboard/asrock/939a785gmh/irq_tables.c b/src/mainboard/asrock/939a785gmh/irq_tables.c
index 3e54c02676..800a415357 100644
--- a/src/mainboard/asrock/939a785gmh/irq_tables.c
+++ b/src/mainboard/asrock/939a785gmh/irq_tables.c
@@ -31,7 +31,7 @@
#include <cpu/amd/amdk8_sysconf.h>
-extern void get_bus_conf(void);
+
static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn,
u8 link0, u16 bitmap0, u8 link1, u16 bitmap1,
diff --git a/src/mainboard/asrock/939a785gmh/mptable.c b/src/mainboard/asrock/939a785gmh/mptable.c
index 6a922fbc05..89f7a8308b 100644
--- a/src/mainboard/asrock/939a785gmh/mptable.c
+++ b/src/mainboard/asrock/939a785gmh/mptable.c
@@ -37,7 +37,7 @@ extern u32 bus_type[256];
extern u32 sbdn_rs780;
extern u32 sbdn_sb700;
-extern void get_bus_conf(void);
+
static void *smp_write_config_table(void *v)
{