diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-01-04 05:16:38 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-01-10 13:40:04 +0000 |
commit | 22521ab2e6fca66319b14f293500101e3bfc2f33 (patch) | |
tree | 7d6dd71fbb2b64f68441567f418d4b392f2063a6 /src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c | |
parent | 4b2553eea53b0265db6650e1486647fda82f07a3 (diff) | |
download | coreboot-22521ab2e6fca66319b14f293500101e3bfc2f33.tar.xz |
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/supermicro/h8scm_fam10/get_bus_conf.c')
-rw-r--r-- | src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c b/src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c index 7153f79df2..f6ea9334fc 100644 --- a/src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c +++ b/src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c @@ -25,11 +25,9 @@ * and acpi_tables busnum is default. */ u8 bus_sr5650[14]; -u32 apicid_sp5100; void get_bus_conf(void) { - u32 apicid_base; struct device *dev; int i; @@ -54,11 +52,4 @@ void get_bus_conf(void) } } } - - /* I/O APICs: APIC ID Version State Address */ - if (IS_ENABLED(CONFIG_LOGICAL_CPUS)) - apicid_base = get_apicid_base(1); - else - apicid_base = CONFIG_MAX_PHYSICAL_CPUS; - apicid_sp5100 = apicid_base + 0; } |