From e9de1e2609dfeab0b638b1e8facd642a88428745 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 7 Apr 2010 15:30:11 +0000 Subject: move amd K8/Fam10 "bus detection" function prototypes to a common place. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5370 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/supermicro/h8dme/get_bus_conf.c | 2 +- src/mainboard/supermicro/h8dme/irq_tables.c | 2 +- src/mainboard/supermicro/h8dme/mptable.c | 2 +- src/mainboard/supermicro/h8dmr/get_bus_conf.c | 2 +- src/mainboard/supermicro/h8dmr/irq_tables.c | 2 +- src/mainboard/supermicro/h8dmr/mptable.c | 2 +- src/mainboard/supermicro/h8dmr_fam10/irq_tables.c | 2 +- src/mainboard/supermicro/h8dmr_fam10/mptable.c | 2 +- src/mainboard/supermicro/h8qme_fam10/irq_tables.c | 2 +- src/mainboard/supermicro/h8qme_fam10/mptable.c | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/mainboard/supermicro') diff --git a/src/mainboard/supermicro/h8dme/get_bus_conf.c b/src/mainboard/supermicro/h8dme/get_bus_conf.c index 98e98bef30..3a9218ba6c 100644 --- a/src/mainboard/supermicro/h8dme/get_bus_conf.c +++ b/src/mainboard/supermicro/h8dme/get_bus_conf.c @@ -65,7 +65,7 @@ unsigned hcdnx[] = }; unsigned sbdnb; -extern void get_sblk_pci1234(void); + static unsigned get_bus_conf_done = 0; diff --git a/src/mainboard/supermicro/h8dme/irq_tables.c b/src/mainboard/supermicro/h8dme/irq_tables.c index 284abfe4db..5cb6d8420c 100644 --- a/src/mainboard/supermicro/h8dme/irq_tables.c +++ b/src/mainboard/supermicro/h8dme/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/supermicro/h8dme/mptable.c b/src/mainboard/supermicro/h8dme/mptable.c index 784a639802..fb19f25dae 100644 --- a/src/mainboard/supermicro/h8dme/mptable.c +++ b/src/mainboard/supermicro/h8dme/mptable.c @@ -33,7 +33,7 @@ extern unsigned apicid_mcp55; extern unsigned char bus_pcix[3]; // under bus_mcp55_2 -extern void get_bus_conf(void); + static void *smp_write_config_table(void *v) { diff --git a/src/mainboard/supermicro/h8dmr/get_bus_conf.c b/src/mainboard/supermicro/h8dmr/get_bus_conf.c index 98e98bef30..3a9218ba6c 100644 --- a/src/mainboard/supermicro/h8dmr/get_bus_conf.c +++ b/src/mainboard/supermicro/h8dmr/get_bus_conf.c @@ -65,7 +65,7 @@ unsigned hcdnx[] = }; unsigned sbdnb; -extern void get_sblk_pci1234(void); + static unsigned get_bus_conf_done = 0; diff --git a/src/mainboard/supermicro/h8dmr/irq_tables.c b/src/mainboard/supermicro/h8dmr/irq_tables.c index 284abfe4db..5cb6d8420c 100644 --- a/src/mainboard/supermicro/h8dmr/irq_tables.c +++ b/src/mainboard/supermicro/h8dmr/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/supermicro/h8dmr/mptable.c b/src/mainboard/supermicro/h8dmr/mptable.c index 784a639802..fb19f25dae 100644 --- a/src/mainboard/supermicro/h8dmr/mptable.c +++ b/src/mainboard/supermicro/h8dmr/mptable.c @@ -33,7 +33,7 @@ extern unsigned apicid_mcp55; extern unsigned char bus_pcix[3]; // under bus_mcp55_2 -extern void get_bus_conf(void); + static void *smp_write_config_table(void *v) { diff --git a/src/mainboard/supermicro/h8dmr_fam10/irq_tables.c b/src/mainboard/supermicro/h8dmr_fam10/irq_tables.c index 3f767ebbb2..673db742fb 100644 --- a/src/mainboard/supermicro/h8dmr_fam10/irq_tables.c +++ b/src/mainboard/supermicro/h8dmr_fam10/irq_tables.c @@ -52,7 +52,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev pirq_info->rfu = rfu; } -extern void get_bus_conf(void); + unsigned long write_pirq_routing_table(unsigned long addr) { diff --git a/src/mainboard/supermicro/h8dmr_fam10/mptable.c b/src/mainboard/supermicro/h8dmr_fam10/mptable.c index 2301d6f008..5f1918661e 100644 --- a/src/mainboard/supermicro/h8dmr_fam10/mptable.c +++ b/src/mainboard/supermicro/h8dmr_fam10/mptable.c @@ -29,7 +29,7 @@ #include "mb_sysconf.h" -extern void get_bus_conf(void); + static void *smp_write_config_table(void *v) { diff --git a/src/mainboard/supermicro/h8qme_fam10/irq_tables.c b/src/mainboard/supermicro/h8qme_fam10/irq_tables.c index 209e568067..efaf4cb754 100644 --- a/src/mainboard/supermicro/h8qme_fam10/irq_tables.c +++ b/src/mainboard/supermicro/h8qme_fam10/irq_tables.c @@ -52,7 +52,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev pirq_info->rfu = rfu; } -extern void get_bus_conf(void); + unsigned long write_pirq_routing_table(unsigned long addr) { diff --git a/src/mainboard/supermicro/h8qme_fam10/mptable.c b/src/mainboard/supermicro/h8qme_fam10/mptable.c index 9f264bdaa0..ca9512390d 100644 --- a/src/mainboard/supermicro/h8qme_fam10/mptable.c +++ b/src/mainboard/supermicro/h8qme_fam10/mptable.c @@ -29,7 +29,7 @@ #include "mb_sysconf.h" -extern void get_bus_conf(void); + extern unsigned sbdn3; static void *smp_write_config_table(void *v) -- cgit v1.2.3