amdfam10 boards: Drop extern on bus_sr5650 and sbdn_sr5650
Change-Id: I3b95ec5746077b49cd6dca64d0f884a3d1c362fb Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/30634 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
58954d2bf3
commit
c9394017db
|
@ -25,7 +25,7 @@
|
|||
/* Global variables for MB layouts and these will be shared by irqtable mptable
|
||||
* and acpi_tables busnum is default.
|
||||
*/
|
||||
u8 bus_sr5650[14];
|
||||
static u8 bus_sr5650[14];
|
||||
u8 bus_sp5100[2];
|
||||
u32 apicid_sp5100;
|
||||
|
||||
|
@ -47,7 +47,7 @@ u32 hcdnx[] = {
|
|||
};
|
||||
|
||||
|
||||
u32 sbdn_sr5650;
|
||||
static u32 sbdn_sr5650;
|
||||
u32 sbdn_sp5100;
|
||||
|
||||
void get_bus_conf(void)
|
||||
|
|
|
@ -60,10 +60,8 @@ static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn,
|
|||
pirq_info->rfu = rfu;
|
||||
}
|
||||
|
||||
extern u8 bus_sr5650[14];
|
||||
extern u8 bus_sp5100[2];
|
||||
extern u32 sbdn_sp5100;
|
||||
extern u32 sbdn_sr5650;
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -21,12 +21,10 @@
|
|||
#include <stdint.h>
|
||||
#include <cpu/amd/amdfam10_sysconf.h>
|
||||
|
||||
extern u8 bus_sr5650[14];
|
||||
extern u8 bus_sp5100[2];
|
||||
|
||||
extern u32 apicid_sp5100;
|
||||
|
||||
extern u32 sbdn_sr5650;
|
||||
extern u32 sbdn_sp5100;
|
||||
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
/* Global variables for MB layouts and these will be shared by irqtable mptable
|
||||
* and acpi_tables busnum is default.
|
||||
*/
|
||||
u8 bus_sr5650[14];
|
||||
static u8 bus_sr5650[14];
|
||||
u8 bus_sp5100[2];
|
||||
u32 apicid_sp5100;
|
||||
|
||||
|
@ -47,7 +47,7 @@ u32 hcdnx[] = {
|
|||
};
|
||||
|
||||
|
||||
u32 sbdn_sr5650;
|
||||
static u32 sbdn_sr5650;
|
||||
u32 sbdn_sp5100;
|
||||
|
||||
void get_bus_conf(void)
|
||||
|
|
|
@ -60,10 +60,8 @@ static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn,
|
|||
pirq_info->rfu = rfu;
|
||||
}
|
||||
|
||||
extern u8 bus_sr5650[14];
|
||||
extern u8 bus_sp5100[2];
|
||||
extern u32 sbdn_sp5100;
|
||||
extern u32 sbdn_sr5650;
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -21,12 +21,10 @@
|
|||
#include <stdint.h>
|
||||
#include <cpu/amd/amdfam10_sysconf.h>
|
||||
|
||||
extern u8 bus_sr5650[14];
|
||||
extern u8 bus_sp5100[2];
|
||||
|
||||
extern u32 apicid_sp5100;
|
||||
|
||||
extern u32 sbdn_sr5650;
|
||||
extern u32 sbdn_sp5100;
|
||||
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ u32 hcdnx[] = {
|
|||
};
|
||||
|
||||
|
||||
u32 sbdn_sr5650;
|
||||
static u32 sbdn_sr5650;
|
||||
u32 sbdn_sp5100;
|
||||
|
||||
void get_bus_conf(void)
|
||||
|
|
|
@ -25,7 +25,6 @@ extern u8 bus_sp5100[2];
|
|||
|
||||
extern u32 apicid_sp5100;
|
||||
|
||||
extern u32 sbdn_sr5650;
|
||||
extern u32 sbdn_sp5100;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue