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>
This commit is contained in:
parent
a79b3f1c63
commit
1db4e3a358
|
@ -66,6 +66,7 @@ struct amdfam10_sysconf_t {
|
|||
|
||||
extern struct amdfam10_sysconf_t sysconf;
|
||||
|
||||
void get_sblk_pci1234(void);
|
||||
void get_bus_conf(void);
|
||||
void get_pci1234(void);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -17,6 +17,5 @@
|
|||
#define NORTHBRIDGE_AMD_AMDFAM10_H
|
||||
|
||||
u32 amdfam10_scan_root_bus(struct device *root, u32 max);
|
||||
void get_pci1234(void);
|
||||
|
||||
#endif /* NORTHBRIDGE_AMD_AMDFAM10_H */
|
||||
|
|
Loading…
Reference in New Issue