diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-07 15:30:11 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-07 15:30:11 +0000 |
commit | e9de1e2609dfeab0b638b1e8facd642a88428745 (patch) | |
tree | 3e6b7a06e081ee57e2893f2bd3af08634b22ccec /src/mainboard/tyan | |
parent | 135a966d34123cbc4ab5959f92e5364651c1ad55 (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/tyan')
-rw-r--r-- | src/mainboard/tyan/s2881/get_bus_conf.c | 2 | ||||
-rw-r--r-- | src/mainboard/tyan/s2881/irq_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/tyan/s2881/mptable.c | 2 | ||||
-rw-r--r-- | src/mainboard/tyan/s2885/get_bus_conf.c | 2 | ||||
-rw-r--r-- | src/mainboard/tyan/s2885/irq_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/tyan/s2885/mptable.c | 2 | ||||
-rw-r--r-- | src/mainboard/tyan/s2891/get_bus_conf.c | 2 | ||||
-rw-r--r-- | src/mainboard/tyan/s2891/irq_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/tyan/s2891/mptable.c | 2 | ||||
-rw-r--r-- | src/mainboard/tyan/s2892/get_bus_conf.c | 2 | ||||
-rw-r--r-- | src/mainboard/tyan/s2892/irq_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/tyan/s2892/mptable.c | 2 | ||||
-rw-r--r-- | src/mainboard/tyan/s2895/get_bus_conf.c | 2 | ||||
-rw-r--r-- | src/mainboard/tyan/s2895/irq_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/tyan/s2895/mptable.c | 2 | ||||
-rw-r--r-- | src/mainboard/tyan/s2912/get_bus_conf.c | 2 | ||||
-rw-r--r-- | src/mainboard/tyan/s2912/irq_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/tyan/s2912/mptable.c | 2 | ||||
-rw-r--r-- | src/mainboard/tyan/s2912_fam10/irq_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/tyan/s2912_fam10/mptable.c | 2 |
20 files changed, 20 insertions, 20 deletions
diff --git a/src/mainboard/tyan/s2881/get_bus_conf.c b/src/mainboard/tyan/s2881/get_bus_conf.c index 7044f8ec5f..758e3d809d 100644 --- a/src/mainboard/tyan/s2881/get_bus_conf.c +++ b/src/mainboard/tyan/s2881/get_bus_conf.c @@ -48,7 +48,7 @@ unsigned hcdnx[] = }; unsigned sbdn3; -extern void get_sblk_pci1234(void); + static unsigned get_bus_conf_done = 0; diff --git a/src/mainboard/tyan/s2881/irq_tables.c b/src/mainboard/tyan/s2881/irq_tables.c index f41350eca7..af66ba9730 100644 --- a/src/mainboard/tyan/s2881/irq_tables.c +++ b/src/mainboard/tyan/s2881/irq_tables.c @@ -38,7 +38,7 @@ extern unsigned char bus_8111_1; extern unsigned sbdn3; -extern void get_bus_conf(void); + unsigned long write_pirq_routing_table(unsigned long addr) { diff --git a/src/mainboard/tyan/s2881/mptable.c b/src/mainboard/tyan/s2881/mptable.c index c00bc3fedc..4dffcfe8eb 100644 --- a/src/mainboard/tyan/s2881/mptable.c +++ b/src/mainboard/tyan/s2881/mptable.c @@ -18,7 +18,7 @@ extern unsigned apicid_8131_2; extern unsigned sbdn3; -extern void get_bus_conf(void); + static void *smp_write_config_table(void *v) { diff --git a/src/mainboard/tyan/s2885/get_bus_conf.c b/src/mainboard/tyan/s2885/get_bus_conf.c index fd5d936ee3..de4deb23d3 100644 --- a/src/mainboard/tyan/s2885/get_bus_conf.c +++ b/src/mainboard/tyan/s2885/get_bus_conf.c @@ -50,7 +50,7 @@ unsigned hcdnx[] = unsigned sbdn3; unsigned sbdn5; -extern void get_sblk_pci1234(void); + static unsigned get_bus_conf_done = 0; diff --git a/src/mainboard/tyan/s2885/irq_tables.c b/src/mainboard/tyan/s2885/irq_tables.c index 1f0a9fb883..f9a358e125 100644 --- a/src/mainboard/tyan/s2885/irq_tables.c +++ b/src/mainboard/tyan/s2885/irq_tables.c @@ -41,7 +41,7 @@ extern unsigned char bus_8151_1; extern unsigned sbdn3; extern unsigned sbdn5; -extern void get_bus_conf(void); + unsigned long write_pirq_routing_table(unsigned long addr) { diff --git a/src/mainboard/tyan/s2885/mptable.c b/src/mainboard/tyan/s2885/mptable.c index a3e5155d5f..4f5bab5cf4 100644 --- a/src/mainboard/tyan/s2885/mptable.c +++ b/src/mainboard/tyan/s2885/mptable.c @@ -21,7 +21,7 @@ extern unsigned apicid_8131_2; extern unsigned sbdn3; extern unsigned sbdn5; -extern void get_bus_conf(void); + static void *smp_write_config_table(void *v) diff --git a/src/mainboard/tyan/s2891/get_bus_conf.c b/src/mainboard/tyan/s2891/get_bus_conf.c index e2ebe4df1e..2bd6954389 100644 --- a/src/mainboard/tyan/s2891/get_bus_conf.c +++ b/src/mainboard/tyan/s2891/get_bus_conf.c @@ -55,7 +55,7 @@ unsigned hcdnx[] = unsigned sbdn3; unsigned coprocdn; -extern void get_sblk_pci1234(void); + static unsigned get_bus_conf_done = 0; diff --git a/src/mainboard/tyan/s2891/irq_tables.c b/src/mainboard/tyan/s2891/irq_tables.c index 2b1f640921..cd40c999f7 100644 --- a/src/mainboard/tyan/s2891/irq_tables.c +++ b/src/mainboard/tyan/s2891/irq_tables.c @@ -45,7 +45,7 @@ extern unsigned char bus_coproc_0; extern unsigned sbdn3; extern unsigned coprocdn; -extern void get_bus_conf(void); + unsigned long write_pirq_routing_table(unsigned long addr) { diff --git a/src/mainboard/tyan/s2891/mptable.c b/src/mainboard/tyan/s2891/mptable.c index d4dc7bcf88..5ebbda039f 100644 --- a/src/mainboard/tyan/s2891/mptable.c +++ b/src/mainboard/tyan/s2891/mptable.c @@ -22,7 +22,7 @@ extern unsigned apicid_8131_2; extern unsigned sbdn3; -extern void get_bus_conf(void); + static void *smp_write_config_table(void *v) { diff --git a/src/mainboard/tyan/s2892/get_bus_conf.c b/src/mainboard/tyan/s2892/get_bus_conf.c index dd5e219741..cadf9d953f 100644 --- a/src/mainboard/tyan/s2892/get_bus_conf.c +++ b/src/mainboard/tyan/s2892/get_bus_conf.c @@ -52,7 +52,7 @@ unsigned hcdnx[] = unsigned sbdn3; -extern void get_sblk_pci1234(void); + static unsigned get_bus_conf_done = 0; diff --git a/src/mainboard/tyan/s2892/irq_tables.c b/src/mainboard/tyan/s2892/irq_tables.c index f76afc2fbb..dbe15efded 100644 --- a/src/mainboard/tyan/s2892/irq_tables.c +++ b/src/mainboard/tyan/s2892/irq_tables.c @@ -43,7 +43,7 @@ extern unsigned char bus_8131_2; //9 extern unsigned sbdn3; -extern void get_bus_conf(void); + unsigned long write_pirq_routing_table(unsigned long addr) { diff --git a/src/mainboard/tyan/s2892/mptable.c b/src/mainboard/tyan/s2892/mptable.c index 1aff4c80ae..38ffaabfbd 100644 --- a/src/mainboard/tyan/s2892/mptable.c +++ b/src/mainboard/tyan/s2892/mptable.c @@ -22,7 +22,7 @@ extern unsigned apicid_8131_2; extern unsigned sbdn3; -extern void get_bus_conf(void); + static void *smp_write_config_table(void *v) { diff --git a/src/mainboard/tyan/s2895/get_bus_conf.c b/src/mainboard/tyan/s2895/get_bus_conf.c index d36a76d181..ef5963e39e 100644 --- a/src/mainboard/tyan/s2895/get_bus_conf.c +++ b/src/mainboard/tyan/s2895/get_bus_conf.c @@ -60,7 +60,7 @@ unsigned hcdnx[] = unsigned sbdn3; unsigned sbdnb; -extern void get_sblk_pci1234(void); + static unsigned get_bus_conf_done = 0; diff --git a/src/mainboard/tyan/s2895/irq_tables.c b/src/mainboard/tyan/s2895/irq_tables.c index 414084c64a..95df425caa 100644 --- a/src/mainboard/tyan/s2895/irq_tables.c +++ b/src/mainboard/tyan/s2895/irq_tables.c @@ -50,7 +50,7 @@ extern unsigned char bus_ck804b_5;//f extern unsigned sbdn3; extern unsigned sbdnb; -extern void get_bus_conf(void); + unsigned long write_pirq_routing_table(unsigned long addr) { diff --git a/src/mainboard/tyan/s2895/mptable.c b/src/mainboard/tyan/s2895/mptable.c index 46f28003fe..600b0f4533 100644 --- a/src/mainboard/tyan/s2895/mptable.c +++ b/src/mainboard/tyan/s2895/mptable.c @@ -30,7 +30,7 @@ extern unsigned apicid_ck804b; extern unsigned sbdn3; extern unsigned sbdnb; -extern void get_bus_conf(void); + static void *smp_write_config_table(void *v) { diff --git a/src/mainboard/tyan/s2912/get_bus_conf.c b/src/mainboard/tyan/s2912/get_bus_conf.c index 39769622a6..cd993a7a85 100644 --- a/src/mainboard/tyan/s2912/get_bus_conf.c +++ b/src/mainboard/tyan/s2912/get_bus_conf.c @@ -61,7 +61,7 @@ unsigned hcdnx[] = }; -extern void get_sblk_pci1234(void); + static unsigned get_bus_conf_done = 0; diff --git a/src/mainboard/tyan/s2912/irq_tables.c b/src/mainboard/tyan/s2912/irq_tables.c index 15c6f43452..2c306e4eb5 100644 --- a/src/mainboard/tyan/s2912/irq_tables.c +++ b/src/mainboard/tyan/s2912/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/tyan/s2912/mptable.c b/src/mainboard/tyan/s2912/mptable.c index bdd029f7aa..027873dfbc 100644 --- a/src/mainboard/tyan/s2912/mptable.c +++ b/src/mainboard/tyan/s2912/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/tyan/s2912_fam10/irq_tables.c b/src/mainboard/tyan/s2912_fam10/irq_tables.c index d888c836e4..bb14f3310b 100644 --- a/src/mainboard/tyan/s2912_fam10/irq_tables.c +++ b/src/mainboard/tyan/s2912_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/tyan/s2912_fam10/mptable.c b/src/mainboard/tyan/s2912_fam10/mptable.c index 1fe5bea1eb..c2c5f66d7a 100644 --- a/src/mainboard/tyan/s2912_fam10/mptable.c +++ b/src/mainboard/tyan/s2912_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) { |