aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/asus/kgpe-d16/mptable.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-01-04 05:16:38 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-01-10 13:40:04 +0000
commit22521ab2e6fca66319b14f293500101e3bfc2f33 (patch)
tree7d6dd71fbb2b64f68441567f418d4b392f2063a6 /src/mainboard/asus/kgpe-d16/mptable.c
parent4b2553eea53b0265db6650e1486647fda82f07a3 (diff)
amdfam10 boards: Drop extern on apicid_sp5100
The value get_bus_conf() initialises this value to is discarded. Change-Id: I8382861574e6f8ab52839169502a5af7c3742daa Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/30780 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/asus/kgpe-d16/mptable.c')
-rw-r--r--src/mainboard/asus/kgpe-d16/mptable.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mainboard/asus/kgpe-d16/mptable.c b/src/mainboard/asus/kgpe-d16/mptable.c
index 3b7ff52ab7..e91a424264 100644
--- a/src/mainboard/asus/kgpe-d16/mptable.c
+++ b/src/mainboard/asus/kgpe-d16/mptable.c
@@ -21,14 +21,11 @@
#include <stdint.h>
#include <cpu/amd/amdfam10_sysconf.h>
-extern u32 apicid_sp5100;
-
-
-
static void *smp_write_config_table(void *v)
{
struct mp_config_table *mc;
int bus_isa;
+ u32 apicid_sp5100;
u32 apicid_sr5650;
struct device *dev;
uint8_t sp5100_bus_number;