AGESA fam15: Use local bus_isa storage

Do not use a global as the value gets discarded anyway.

Change-Id: I86aac304e073f0d74b011548d079e139891ec140
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/6329
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
Kyösti Mälkki 2014-07-21 18:45:14 +03:00
parent 84283bcc12
commit da6d8b1048
3 changed files with 3 additions and 6 deletions

View File

@ -32,12 +32,11 @@ extern u8 bus_sr5650[14];
extern u8 bus_sp5100[2]; extern u8 bus_sp5100[2];
extern u32 sbdn_sr5650; extern u32 sbdn_sr5650;
extern u32 sbdn_sp5100; extern u32 sbdn_sp5100;
extern int bus_isa;
static void *smp_write_config_table(void *v) static void *smp_write_config_table(void *v)
{ {
struct mp_config_table *mc; struct mp_config_table *mc;
int bus_isa;
u32 apicid_sp5100; u32 apicid_sp5100;
u32 apicid_sr5650; u32 apicid_sr5650;
device_t dev; device_t dev;

View File

@ -32,12 +32,11 @@ extern u8 bus_sr5650[14];
extern u8 bus_sp5100[2]; extern u8 bus_sp5100[2];
extern u32 sbdn_sr5650; extern u32 sbdn_sr5650;
extern u32 sbdn_sp5100; extern u32 sbdn_sp5100;
extern int bus_isa;
static void *smp_write_config_table(void *v) static void *smp_write_config_table(void *v)
{ {
struct mp_config_table *mc; struct mp_config_table *mc;
int bus_isa;
u32 apicid_sp5100; u32 apicid_sp5100;
u32 apicid_sr5650; u32 apicid_sr5650;
device_t dev; device_t dev;

View File

@ -32,12 +32,11 @@ extern u8 bus_sr5650[14];
extern u8 bus_sp5100[2]; extern u8 bus_sp5100[2];
extern u32 sbdn_sr5650; extern u32 sbdn_sr5650;
extern u32 sbdn_sp5100; extern u32 sbdn_sp5100;
extern int bus_isa;
static void *smp_write_config_table(void *v) static void *smp_write_config_table(void *v)
{ {
struct mp_config_table *mc; struct mp_config_table *mc;
int bus_isa;
u32 apicid_sp5100; u32 apicid_sp5100;
u32 apicid_sr5650; u32 apicid_sr5650;
device_t dev; device_t dev;