summaryrefslogtreecommitdiff
path: root/src/mainboard/amd
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/amd
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/amd')
-rw-r--r--src/mainboard/amd/dbm690t/acpi_tables.c2
-rw-r--r--src/mainboard/amd/dbm690t/get_bus_conf.c2
-rw-r--r--src/mainboard/amd/dbm690t/irq_tables.c2
-rw-r--r--src/mainboard/amd/dbm690t/mptable.c2
-rw-r--r--src/mainboard/amd/mahogany/acpi_tables.c2
-rw-r--r--src/mainboard/amd/mahogany/get_bus_conf.c2
-rw-r--r--src/mainboard/amd/mahogany/irq_tables.c2
-rw-r--r--src/mainboard/amd/mahogany/mptable.c2
-rw-r--r--src/mainboard/amd/mahogany_fam10/acpi_tables.c2
-rw-r--r--src/mainboard/amd/mahogany_fam10/irq_tables.c2
-rw-r--r--src/mainboard/amd/mahogany_fam10/mptable.c2
-rw-r--r--src/mainboard/amd/pistachio/acpi_tables.c2
-rw-r--r--src/mainboard/amd/pistachio/get_bus_conf.c2
-rw-r--r--src/mainboard/amd/pistachio/irq_tables.c2
-rw-r--r--src/mainboard/amd/pistachio/mptable.c2
-rw-r--r--src/mainboard/amd/serengeti_cheetah/acpi_tables.c2
-rw-r--r--src/mainboard/amd/serengeti_cheetah/get_bus_conf.c2
-rw-r--r--src/mainboard/amd/serengeti_cheetah/irq_tables.c2
-rw-r--r--src/mainboard/amd/serengeti_cheetah/mptable.c2
-rw-r--r--src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c2
-rw-r--r--src/mainboard/amd/serengeti_cheetah_fam10/irq_tables.c2
-rw-r--r--src/mainboard/amd/serengeti_cheetah_fam10/mptable.c2
22 files changed, 22 insertions, 22 deletions
diff --git a/src/mainboard/amd/dbm690t/acpi_tables.c b/src/mainboard/amd/dbm690t/acpi_tables.c
index a57cb48a4d..d28acc7bc3 100644
--- a/src/mainboard/amd/dbm690t/acpi_tables.c
+++ b/src/mainboard/amd/dbm690t/acpi_tables.c
@@ -92,7 +92,7 @@ unsigned long acpi_fill_madt(unsigned long current)
return current;
}
-extern void get_bus_conf(void);
+
static void update_ssdtx(void *ssdtx, int i)
{
diff --git a/src/mainboard/amd/dbm690t/get_bus_conf.c b/src/mainboard/amd/dbm690t/get_bus_conf.c
index 79020b3faf..24b9f28132 100644
--- a/src/mainboard/amd/dbm690t/get_bus_conf.c
+++ b/src/mainboard/amd/dbm690t/get_bus_conf.c
@@ -59,7 +59,7 @@ u32 bus_type[256];
u32 sbdn_rs690;
u32 sbdn_sb600;
-extern void get_sblk_pci1234(void);
+
static u32 get_bus_conf_done = 0;
diff --git a/src/mainboard/amd/dbm690t/irq_tables.c b/src/mainboard/amd/dbm690t/irq_tables.c
index 8457745724..e3ec01a5c4 100644
--- a/src/mainboard/amd/dbm690t/irq_tables.c
+++ b/src/mainboard/amd/dbm690t/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/amd/dbm690t/mptable.c b/src/mainboard/amd/dbm690t/mptable.c
index d5610eb12b..0bc73d7440 100644
--- a/src/mainboard/amd/dbm690t/mptable.c
+++ b/src/mainboard/amd/dbm690t/mptable.c
@@ -36,7 +36,7 @@ extern u32 bus_type[256];
extern u32 sbdn_rs690;
extern u32 sbdn_sb600;
-extern void get_bus_conf(void);
+
static void *smp_write_config_table(void *v)
{
diff --git a/src/mainboard/amd/mahogany/acpi_tables.c b/src/mainboard/amd/mahogany/acpi_tables.c
index 08b15ea046..692b0f2fcf 100644
--- a/src/mainboard/amd/mahogany/acpi_tables.c
+++ b/src/mainboard/amd/mahogany/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/amd/mahogany/get_bus_conf.c b/src/mainboard/amd/mahogany/get_bus_conf.c
index 1c319ec585..e3c7acd226 100644
--- a/src/mainboard/amd/mahogany/get_bus_conf.c
+++ b/src/mainboard/amd/mahogany/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/amd/mahogany/irq_tables.c b/src/mainboard/amd/mahogany/irq_tables.c
index 3e54c02676..800a415357 100644
--- a/src/mainboard/amd/mahogany/irq_tables.c
+++ b/src/mainboard/amd/mahogany/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/amd/mahogany/mptable.c b/src/mainboard/amd/mahogany/mptable.c
index 6a922fbc05..89f7a8308b 100644
--- a/src/mainboard/amd/mahogany/mptable.c
+++ b/src/mainboard/amd/mahogany/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)
{
diff --git a/src/mainboard/amd/mahogany_fam10/acpi_tables.c b/src/mainboard/amd/mahogany_fam10/acpi_tables.c
index 7a071fbfda..25ac76f6e3 100644
--- a/src/mainboard/amd/mahogany_fam10/acpi_tables.c
+++ b/src/mainboard/amd/mahogany_fam10/acpi_tables.c
@@ -89,7 +89,7 @@ unsigned long acpi_fill_madt(unsigned long current)
return current;
}
-extern void get_bus_conf(void);
+
extern void update_ssdt(void *ssdt);
/* not tested yet. */
diff --git a/src/mainboard/amd/mahogany_fam10/irq_tables.c b/src/mainboard/amd/mahogany_fam10/irq_tables.c
index 2ea7de11a2..b6b0ef1941 100644
--- a/src/mainboard/amd/mahogany_fam10/irq_tables.c
+++ b/src/mainboard/amd/mahogany_fam10/irq_tables.c
@@ -25,7 +25,7 @@
#include <cpu/amd/amdfam10_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/amd/mahogany_fam10/mptable.c b/src/mainboard/amd/mahogany_fam10/mptable.c
index 64536066dc..fdf8ada6fb 100644
--- a/src/mainboard/amd/mahogany_fam10/mptable.c
+++ b/src/mainboard/amd/mahogany_fam10/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)
{
diff --git a/src/mainboard/amd/pistachio/acpi_tables.c b/src/mainboard/amd/pistachio/acpi_tables.c
index 5431a1f516..16d1cbbd47 100644
--- a/src/mainboard/amd/pistachio/acpi_tables.c
+++ b/src/mainboard/amd/pistachio/acpi_tables.c
@@ -92,7 +92,7 @@ unsigned long acpi_fill_madt(unsigned long current)
return current;
}
-extern void get_bus_conf(void);
+
static void update_ssdtx(void *ssdtx, int i)
{
diff --git a/src/mainboard/amd/pistachio/get_bus_conf.c b/src/mainboard/amd/pistachio/get_bus_conf.c
index 79020b3faf..24b9f28132 100644
--- a/src/mainboard/amd/pistachio/get_bus_conf.c
+++ b/src/mainboard/amd/pistachio/get_bus_conf.c
@@ -59,7 +59,7 @@ u32 bus_type[256];
u32 sbdn_rs690;
u32 sbdn_sb600;
-extern void get_sblk_pci1234(void);
+
static u32 get_bus_conf_done = 0;
diff --git a/src/mainboard/amd/pistachio/irq_tables.c b/src/mainboard/amd/pistachio/irq_tables.c
index 9e42e53c58..9189bf9fae 100644
--- a/src/mainboard/amd/pistachio/irq_tables.c
+++ b/src/mainboard/amd/pistachio/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/amd/pistachio/mptable.c b/src/mainboard/amd/pistachio/mptable.c
index 12bb3ddac4..ebf4c58cf1 100644
--- a/src/mainboard/amd/pistachio/mptable.c
+++ b/src/mainboard/amd/pistachio/mptable.c
@@ -36,7 +36,7 @@ extern u32 bus_type[256];
extern u32 sbdn_rs690;
extern u32 sbdn_sb600;
-extern void get_bus_conf(void);
+
static void *smp_write_config_table(void *v)
{
diff --git a/src/mainboard/amd/serengeti_cheetah/acpi_tables.c b/src/mainboard/amd/serengeti_cheetah/acpi_tables.c
index 87382c4e32..c7103f1ad9 100644
--- a/src/mainboard/amd/serengeti_cheetah/acpi_tables.c
+++ b/src/mainboard/amd/serengeti_cheetah/acpi_tables.c
@@ -150,7 +150,7 @@ unsigned long acpi_fill_madt(unsigned long current)
return current;
}
-extern void get_bus_conf(void);
+
static void update_ssdtx(void *ssdtx, int i)
{
diff --git a/src/mainboard/amd/serengeti_cheetah/get_bus_conf.c b/src/mainboard/amd/serengeti_cheetah/get_bus_conf.c
index c6a929904b..436044e69a 100644
--- a/src/mainboard/amd/serengeti_cheetah/get_bus_conf.c
+++ b/src/mainboard/amd/serengeti_cheetah/get_bus_conf.c
@@ -39,7 +39,7 @@ static unsigned hcdnx[] =
// 0x20202020,
};
-extern void get_sblk_pci1234(void);
+
static unsigned get_bus_conf_done = 0;
diff --git a/src/mainboard/amd/serengeti_cheetah/irq_tables.c b/src/mainboard/amd/serengeti_cheetah/irq_tables.c
index 7d6f66bb96..d872b0a0db 100644
--- a/src/mainboard/amd/serengeti_cheetah/irq_tables.c
+++ b/src/mainboard/amd/serengeti_cheetah/irq_tables.c
@@ -34,7 +34,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev
}
-extern void get_bus_conf(void);
+
unsigned long write_pirq_routing_table(unsigned long addr)
{
diff --git a/src/mainboard/amd/serengeti_cheetah/mptable.c b/src/mainboard/amd/serengeti_cheetah/mptable.c
index 0d979b5599..713dabe34e 100644
--- a/src/mainboard/amd/serengeti_cheetah/mptable.c
+++ b/src/mainboard/amd/serengeti_cheetah/mptable.c
@@ -10,7 +10,7 @@
#include <cpu/amd/amdk8_sysconf.h>
#include "mb_sysconf.h"
-extern void get_bus_conf(void);
+
static void *smp_write_config_table(void *v)
{
diff --git a/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c b/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c
index 0ed6daf558..172b6588f7 100644
--- a/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c
+++ b/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c
@@ -160,7 +160,7 @@ unsigned long acpi_fill_madt(unsigned long current)
return current;
}
-extern void get_bus_conf(void);
+
extern void update_ssdt(void *ssdt);
static void update_ssdtx(void *ssdtx, int i)
diff --git a/src/mainboard/amd/serengeti_cheetah_fam10/irq_tables.c b/src/mainboard/amd/serengeti_cheetah_fam10/irq_tables.c
index a2197e37bc..125c761cf0 100644
--- a/src/mainboard/amd/serengeti_cheetah_fam10/irq_tables.c
+++ b/src/mainboard/amd/serengeti_cheetah_fam10/irq_tables.c
@@ -46,7 +46,7 @@ static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn, u8 lin
}
-extern void get_bus_conf(void);
+
unsigned long write_pirq_routing_table(unsigned long addr)
{
diff --git a/src/mainboard/amd/serengeti_cheetah_fam10/mptable.c b/src/mainboard/amd/serengeti_cheetah_fam10/mptable.c
index 8a6cfdf97d..381d322d9d 100644
--- a/src/mainboard/amd/serengeti_cheetah_fam10/mptable.c
+++ b/src/mainboard/amd/serengeti_cheetah_fam10/mptable.c
@@ -29,7 +29,7 @@
#include <cpu/amd/amdfam10_sysconf.h>
#include "mb_sysconf.h"
-extern void get_bus_conf(void);
+
static void *smp_write_config_table(void *v)
{