summaryrefslogtreecommitdiffstats
path: root/src/mainboard/tyan
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-07-21 18:45:14 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-07-24 13:57:50 +0200
commitda6d8b1048a4d804cb82b71e640b4ec2db7a4c79 (patch)
treee4ce5a5f806d889db435381bdb59fd33f1c39ed4 /src/mainboard/tyan
parent84283bcc12a84b473ee173d5c7af23d208141a23 (diff)
downloadcoreboot-da6d8b1048a4d804cb82b71e640b4ec2db7a4c79.tar.gz
coreboot-da6d8b1048a4d804cb82b71e640b4ec2db7a4c79.tar.bz2
coreboot-da6d8b1048a4d804cb82b71e640b4ec2db7a4c79.zip
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>
Diffstat (limited to 'src/mainboard/tyan')
-rw-r--r--src/mainboard/tyan/s8226/mptable.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/tyan/s8226/mptable.c b/src/mainboard/tyan/s8226/mptable.c
index 8b36bc79fb95..8a248cc70f81 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;