summaryrefslogtreecommitdiff
path: root/src/mainboard/avalue/eax-785e/mptable.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-01-03 11:38:35 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-01-04 17:19:48 +0000
commitd482c7dace772278d988682e94247e3801587ff7 (patch)
treed9f97f8ad650373791955dd2a80d271f0f17da5a /src/mainboard/avalue/eax-785e/mptable.c
parent1db4e3a3588a8cca317e73df52e11da8d2da57ea (diff)
amdfam10 boards: Drop global bus_isa variable
Value of the global is never evaluated. Change-Id: I74106b0f5f033053288882a5bcd3c1dba3235ac0 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/30628 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/avalue/eax-785e/mptable.c')
-rw-r--r--src/mainboard/avalue/eax-785e/mptable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/avalue/eax-785e/mptable.c b/src/mainboard/avalue/eax-785e/mptable.c
index 914557d8e4..cbaf06b927 100644
--- a/src/mainboard/avalue/eax-785e/mptable.c
+++ b/src/mainboard/avalue/eax-785e/mptable.c
@@ -20,7 +20,6 @@
#include <stdint.h>
#include <cpu/amd/amdfam10_sysconf.h>
-extern int bus_isa;
extern u8 bus_rs780[11];
extern u8 bus_sb800[6];
extern u32 apicid_sb800;
@@ -40,6 +39,7 @@ u8 intr_data[] = {
static void *smp_write_config_table(void *v)
{
struct mp_config_table *mc;
+ int bus_isa;
u32 dword = 0;
u8 byte;