From 1db4e3a3588a8cca317e73df52e11da8d2da57ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Thu, 3 Jan 2019 11:38:33 +0200 Subject: amdfam10 boards: Declare get_pci1234() just once MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I68bb9c4301c846fe2270cd7c434f35a79ab25572 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/30627 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Angel Pons --- src/mainboard/amd/bimini_fam10/get_bus_conf.c | 2 -- src/mainboard/amd/mahogany_fam10/get_bus_conf.c | 2 -- src/mainboard/amd/serengeti_cheetah_fam10/get_bus_conf.c | 2 -- src/mainboard/amd/tilapia_fam10/get_bus_conf.c | 2 -- 4 files changed, 8 deletions(-) (limited to 'src/mainboard/amd') 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) -- cgit v1.2.3