summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/serengeti_cheetah
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/serengeti_cheetah
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/serengeti_cheetah')
-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
4 files changed, 4 insertions, 4 deletions
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)
{