diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-07-21 18:45:14 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-07-24 13:57:50 +0200 |
commit | da6d8b1048a4d804cb82b71e640b4ec2db7a4c79 (patch) | |
tree | e4ce5a5f806d889db435381bdb59fd33f1c39ed4 | |
parent | 84283bcc12a84b473ee173d5c7af23d208141a23 (diff) | |
download | coreboot-da6d8b1048a4d804cb82b71e640b4ec2db7a4c79.tar.xz |
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>
-rw-r--r-- | src/mainboard/supermicro/h8qgi/mptable.c | 3 | ||||
-rw-r--r-- | src/mainboard/supermicro/h8scm/mptable.c | 3 | ||||
-rw-r--r-- | src/mainboard/tyan/s8226/mptable.c | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/src/mainboard/supermicro/h8qgi/mptable.c b/src/mainboard/supermicro/h8qgi/mptable.c index 8b36bc79fb..8a248cc70f 100644 --- a/src/mainboard/supermicro/h8qgi/mptable.c +++ b/src/mainboard/supermicro/h8qgi/mptable.c @@ -32,12 +32,11 @@ extern u8 bus_sr5650[14]; extern u8 bus_sp5100[2]; extern u32 sbdn_sr5650; extern u32 sbdn_sp5100; -extern int bus_isa; - static void *smp_write_config_table(void *v) { struct mp_config_table *mc; + int bus_isa; u32 apicid_sp5100; u32 apicid_sr5650; device_t dev; diff --git a/src/mainboard/supermicro/h8scm/mptable.c b/src/mainboard/supermicro/h8scm/mptable.c index 8b36bc79fb..8a248cc70f 100644 --- a/src/mainboard/supermicro/h8scm/mptable.c +++ b/src/mainboard/supermicro/h8scm/mptable.c @@ -32,12 +32,11 @@ extern u8 bus_sr5650[14]; extern u8 bus_sp5100[2]; extern u32 sbdn_sr5650; extern u32 sbdn_sp5100; -extern int bus_isa; - static void *smp_write_config_table(void *v) { struct mp_config_table *mc; + int bus_isa; u32 apicid_sp5100; u32 apicid_sr5650; device_t dev; diff --git a/src/mainboard/tyan/s8226/mptable.c b/src/mainboard/tyan/s8226/mptable.c index 8b36bc79fb..8a248cc70f 100644 --- a/src/mainboard/tyan/s8226/mptable.c +++ b/src/mainboard/tyan/s8226/mptable.c @@ -32,12 +32,11 @@ extern u8 bus_sr5650[14]; extern u8 bus_sp5100[2]; extern u32 sbdn_sr5650; extern u32 sbdn_sp5100; -extern int bus_isa; - static void *smp_write_config_table(void *v) { struct mp_config_table *mc; + int bus_isa; u32 apicid_sp5100; u32 apicid_sr5650; device_t dev; |