summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-01-03 11:38:33 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-01-04 17:19:34 +0000
commit1db4e3a3588a8cca317e73df52e11da8d2da57ea (patch)
treeef13d341d0f84c3fed38f381bc23a9fcff682d01 /src/mainboard
parenta79b3f1c630095cf92f42753e734a23c8b46d4b1 (diff)
amdfam10 boards: Declare get_pci1234() just once
Change-Id: I68bb9c4301c846fe2270cd7c434f35a79ab25572 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/30627 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/advansus/a785e-i/get_bus_conf.c2
-rw-r--r--src/mainboard/amd/bimini_fam10/get_bus_conf.c2
-rw-r--r--src/mainboard/amd/mahogany_fam10/get_bus_conf.c2
-rw-r--r--src/mainboard/amd/serengeti_cheetah_fam10/get_bus_conf.c2
-rw-r--r--src/mainboard/amd/tilapia_fam10/get_bus_conf.c2
-rw-r--r--src/mainboard/asus/kcma-d8/get_bus_conf.c2
-rw-r--r--src/mainboard/asus/kfsn4-dre/get_bus_conf.c2
-rw-r--r--src/mainboard/asus/kgpe-d16/get_bus_conf.c2
-rw-r--r--src/mainboard/asus/m4a78-em/get_bus_conf.c2
-rw-r--r--src/mainboard/asus/m4a785-m/get_bus_conf.c2
-rw-r--r--src/mainboard/asus/m5a88-v/get_bus_conf.c2
-rw-r--r--src/mainboard/avalue/eax-785e/get_bus_conf.c2
-rw-r--r--src/mainboard/gigabyte/ma785gm/get_bus_conf.c2
-rw-r--r--src/mainboard/gigabyte/ma785gmt/get_bus_conf.c2
-rw-r--r--src/mainboard/gigabyte/ma78gm/get_bus_conf.c2
-rw-r--r--src/mainboard/hp/dl165_g6_fam10/get_bus_conf.c2
-rw-r--r--src/mainboard/iei/kino-780am2-fam10/get_bus_conf.c2
-rw-r--r--src/mainboard/jetway/pa78vm5/get_bus_conf.c2
-rw-r--r--src/mainboard/msi/ms9652_fam10/get_bus_conf.c2
-rw-r--r--src/mainboard/supermicro/h8dmr_fam10/get_bus_conf.c2
-rw-r--r--src/mainboard/supermicro/h8qme_fam10/get_bus_conf.c2
-rw-r--r--src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c2
-rw-r--r--src/mainboard/tyan/s2912_fam10/get_bus_conf.c2
23 files changed, 0 insertions, 46 deletions
diff --git a/src/mainboard/advansus/a785e-i/get_bus_conf.c b/src/mainboard/advansus/a785e-i/get_bus_conf.c
index 65175f98dc..28de27671b 100644
--- a/src/mainboard/advansus/a785e-i/get_bus_conf.c
+++ b/src/mainboard/advansus/a785e-i/get_bus_conf.c
@@ -49,8 +49,6 @@ u32 hcdnx[] = {
u32 sbdn_rs780;
u32 sbdn_sb800;
-extern void get_pci1234(void);
-
static u32 get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/amd/bimini_fam10/get_bus_conf.c b/src/mainboard/amd/bimini_fam10/get_bus_conf.c
index 8ad6730196..0173ef02b1 100644
--- a/src/mainboard/amd/bimini_fam10/get_bus_conf.c
+++ b/src/mainboard/amd/bimini_fam10/get_bus_conf.c
@@ -49,8 +49,6 @@ u32 hcdnx[] = {
u32 sbdn_rs780;
u32 sbdn_sb800;
-extern void get_pci1234(void);
-
static u32 get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/amd/mahogany_fam10/get_bus_conf.c b/src/mainboard/amd/mahogany_fam10/get_bus_conf.c
index eca0ba7187..d7ca975a5d 100644
--- a/src/mainboard/amd/mahogany_fam10/get_bus_conf.c
+++ b/src/mainboard/amd/mahogany_fam10/get_bus_conf.c
@@ -48,8 +48,6 @@ u32 hcdnx[] = {
u32 sbdn_rs780;
u32 sbdn_sb700;
-extern void get_pci1234(void);
-
static u32 get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/amd/serengeti_cheetah_fam10/get_bus_conf.c b/src/mainboard/amd/serengeti_cheetah_fam10/get_bus_conf.c
index 5fc708df31..2a83d43a61 100644
--- a/src/mainboard/amd/serengeti_cheetah_fam10/get_bus_conf.c
+++ b/src/mainboard/amd/serengeti_cheetah_fam10/get_bus_conf.c
@@ -57,8 +57,6 @@ static unsigned hcdnx[] = {
-extern void get_pci1234(void);
-
static u32 get_bus_conf_done = 0;
static u32 get_hcid(u32 i)
diff --git a/src/mainboard/amd/tilapia_fam10/get_bus_conf.c b/src/mainboard/amd/tilapia_fam10/get_bus_conf.c
index eca0ba7187..d7ca975a5d 100644
--- a/src/mainboard/amd/tilapia_fam10/get_bus_conf.c
+++ b/src/mainboard/amd/tilapia_fam10/get_bus_conf.c
@@ -48,8 +48,6 @@ u32 hcdnx[] = {
u32 sbdn_rs780;
u32 sbdn_sb700;
-extern void get_pci1234(void);
-
static u32 get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/asus/kcma-d8/get_bus_conf.c b/src/mainboard/asus/kcma-d8/get_bus_conf.c
index 62b726cc82..73599fb2d2 100644
--- a/src/mainboard/asus/kcma-d8/get_bus_conf.c
+++ b/src/mainboard/asus/kcma-d8/get_bus_conf.c
@@ -51,8 +51,6 @@ u32 hcdnx[] = {
u32 sbdn_sr5650;
u32 sbdn_sp5100;
-extern void get_pci1234(void);
-
static u32 get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/asus/kfsn4-dre/get_bus_conf.c b/src/mainboard/asus/kfsn4-dre/get_bus_conf.c
index c8bf9a8728..180f6292c7 100644
--- a/src/mainboard/asus/kfsn4-dre/get_bus_conf.c
+++ b/src/mainboard/asus/kfsn4-dre/get_bus_conf.c
@@ -60,8 +60,6 @@ static unsigned hcdnx[] = {
0x20202020, 0x20202020,
};
-extern void get_pci1234(void);
-
static unsigned get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/asus/kgpe-d16/get_bus_conf.c b/src/mainboard/asus/kgpe-d16/get_bus_conf.c
index 62b726cc82..73599fb2d2 100644
--- a/src/mainboard/asus/kgpe-d16/get_bus_conf.c
+++ b/src/mainboard/asus/kgpe-d16/get_bus_conf.c
@@ -51,8 +51,6 @@ u32 hcdnx[] = {
u32 sbdn_sr5650;
u32 sbdn_sp5100;
-extern void get_pci1234(void);
-
static u32 get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/asus/m4a78-em/get_bus_conf.c b/src/mainboard/asus/m4a78-em/get_bus_conf.c
index eca0ba7187..d7ca975a5d 100644
--- a/src/mainboard/asus/m4a78-em/get_bus_conf.c
+++ b/src/mainboard/asus/m4a78-em/get_bus_conf.c
@@ -48,8 +48,6 @@ u32 hcdnx[] = {
u32 sbdn_rs780;
u32 sbdn_sb700;
-extern void get_pci1234(void);
-
static u32 get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/asus/m4a785-m/get_bus_conf.c b/src/mainboard/asus/m4a785-m/get_bus_conf.c
index eca0ba7187..d7ca975a5d 100644
--- a/src/mainboard/asus/m4a785-m/get_bus_conf.c
+++ b/src/mainboard/asus/m4a785-m/get_bus_conf.c
@@ -48,8 +48,6 @@ u32 hcdnx[] = {
u32 sbdn_rs780;
u32 sbdn_sb700;
-extern void get_pci1234(void);
-
static u32 get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/asus/m5a88-v/get_bus_conf.c b/src/mainboard/asus/m5a88-v/get_bus_conf.c
index 92b4084867..41dfe37f46 100644
--- a/src/mainboard/asus/m5a88-v/get_bus_conf.c
+++ b/src/mainboard/asus/m5a88-v/get_bus_conf.c
@@ -49,8 +49,6 @@ u32 hcdnx[] = {
u32 sbdn_rs780;
u32 sbdn_sb800;
-extern void get_pci1234(void);
-
static u32 get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/avalue/eax-785e/get_bus_conf.c b/src/mainboard/avalue/eax-785e/get_bus_conf.c
index 92b4084867..41dfe37f46 100644
--- a/src/mainboard/avalue/eax-785e/get_bus_conf.c
+++ b/src/mainboard/avalue/eax-785e/get_bus_conf.c
@@ -49,8 +49,6 @@ u32 hcdnx[] = {
u32 sbdn_rs780;
u32 sbdn_sb800;
-extern void get_pci1234(void);
-
static u32 get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/gigabyte/ma785gm/get_bus_conf.c b/src/mainboard/gigabyte/ma785gm/get_bus_conf.c
index eca0ba7187..d7ca975a5d 100644
--- a/src/mainboard/gigabyte/ma785gm/get_bus_conf.c
+++ b/src/mainboard/gigabyte/ma785gm/get_bus_conf.c
@@ -48,8 +48,6 @@ u32 hcdnx[] = {
u32 sbdn_rs780;
u32 sbdn_sb700;
-extern void get_pci1234(void);
-
static u32 get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/gigabyte/ma785gmt/get_bus_conf.c b/src/mainboard/gigabyte/ma785gmt/get_bus_conf.c
index eca0ba7187..d7ca975a5d 100644
--- a/src/mainboard/gigabyte/ma785gmt/get_bus_conf.c
+++ b/src/mainboard/gigabyte/ma785gmt/get_bus_conf.c
@@ -48,8 +48,6 @@ u32 hcdnx[] = {
u32 sbdn_rs780;
u32 sbdn_sb700;
-extern void get_pci1234(void);
-
static u32 get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/gigabyte/ma78gm/get_bus_conf.c b/src/mainboard/gigabyte/ma78gm/get_bus_conf.c
index eca0ba7187..d7ca975a5d 100644
--- a/src/mainboard/gigabyte/ma78gm/get_bus_conf.c
+++ b/src/mainboard/gigabyte/ma78gm/get_bus_conf.c
@@ -48,8 +48,6 @@ u32 hcdnx[] = {
u32 sbdn_rs780;
u32 sbdn_sb700;
-extern void get_pci1234(void);
-
static u32 get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/hp/dl165_g6_fam10/get_bus_conf.c b/src/mainboard/hp/dl165_g6_fam10/get_bus_conf.c
index c43509ccbd..65a4d8582d 100644
--- a/src/mainboard/hp/dl165_g6_fam10/get_bus_conf.c
+++ b/src/mainboard/hp/dl165_g6_fam10/get_bus_conf.c
@@ -55,8 +55,6 @@ static unsigned hcdnx[] = {
0x20202020, 0x20202020,
};
-extern void get_pci1234(void);
-
static unsigned get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/iei/kino-780am2-fam10/get_bus_conf.c b/src/mainboard/iei/kino-780am2-fam10/get_bus_conf.c
index eca0ba7187..d7ca975a5d 100644
--- a/src/mainboard/iei/kino-780am2-fam10/get_bus_conf.c
+++ b/src/mainboard/iei/kino-780am2-fam10/get_bus_conf.c
@@ -48,8 +48,6 @@ u32 hcdnx[] = {
u32 sbdn_rs780;
u32 sbdn_sb700;
-extern void get_pci1234(void);
-
static u32 get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/jetway/pa78vm5/get_bus_conf.c b/src/mainboard/jetway/pa78vm5/get_bus_conf.c
index eca0ba7187..d7ca975a5d 100644
--- a/src/mainboard/jetway/pa78vm5/get_bus_conf.c
+++ b/src/mainboard/jetway/pa78vm5/get_bus_conf.c
@@ -48,8 +48,6 @@ u32 hcdnx[] = {
u32 sbdn_rs780;
u32 sbdn_sb700;
-extern void get_pci1234(void);
-
static u32 get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/msi/ms9652_fam10/get_bus_conf.c b/src/mainboard/msi/ms9652_fam10/get_bus_conf.c
index 4f9499b523..887110f717 100644
--- a/src/mainboard/msi/ms9652_fam10/get_bus_conf.c
+++ b/src/mainboard/msi/ms9652_fam10/get_bus_conf.c
@@ -55,8 +55,6 @@ static unsigned hcdnx[] = {
0x20202020, 0x20202020,
};
-extern void get_pci1234(void);
-
static unsigned get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/supermicro/h8dmr_fam10/get_bus_conf.c b/src/mainboard/supermicro/h8dmr_fam10/get_bus_conf.c
index 0982138f68..b122073f1b 100644
--- a/src/mainboard/supermicro/h8dmr_fam10/get_bus_conf.c
+++ b/src/mainboard/supermicro/h8dmr_fam10/get_bus_conf.c
@@ -55,8 +55,6 @@ static unsigned hcdnx[] = {
0x20202020, 0x20202020,
};
-extern void get_pci1234(void);
-
static unsigned get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/supermicro/h8qme_fam10/get_bus_conf.c b/src/mainboard/supermicro/h8qme_fam10/get_bus_conf.c
index 280267e018..9643417250 100644
--- a/src/mainboard/supermicro/h8qme_fam10/get_bus_conf.c
+++ b/src/mainboard/supermicro/h8qme_fam10/get_bus_conf.c
@@ -57,8 +57,6 @@ static unsigned hcdnx[] = {
unsigned sbdn3;
-extern void get_pci1234(void);
-
static unsigned get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c b/src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c
index bab194ff3f..255fd898f9 100644
--- a/src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c
+++ b/src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c
@@ -50,8 +50,6 @@ u32 hcdnx[] = {
u32 sbdn_sr5650;
u32 sbdn_sp5100;
-extern void get_pci1234(void);
-
static u32 get_bus_conf_done = 0;
void get_bus_conf(void)
diff --git a/src/mainboard/tyan/s2912_fam10/get_bus_conf.c b/src/mainboard/tyan/s2912_fam10/get_bus_conf.c
index 9f95b6563e..ed3dfb701e 100644
--- a/src/mainboard/tyan/s2912_fam10/get_bus_conf.c
+++ b/src/mainboard/tyan/s2912_fam10/get_bus_conf.c
@@ -55,8 +55,6 @@ static unsigned hcdnx[] = {
0x20202020, 0x20202020,
};
-extern void get_pci1234(void);
-
static unsigned get_bus_conf_done = 0;
void get_bus_conf(void)