diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-01-03 11:38:51 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-01-04 17:21:50 +0000 |
commit | 228746b3464d2b76bd418e2214351976c316ba68 (patch) | |
tree | d334b4c4efa6ccbebc8ce369a9396650fad2c6c1 /src/mainboard/supermicro/h8scm_fam10/mptable.c | |
parent | af39e0ebc18ff85135c2fb2efd0a3c69fa05c081 (diff) |
amdfam10 boards: Drop const variable sbdn_sp5100
Change-Id: I8756a81324ba3d4374bb6b06f7f0ddade6ba530f
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/30636
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/supermicro/h8scm_fam10/mptable.c')
-rw-r--r-- | src/mainboard/supermicro/h8scm_fam10/mptable.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/supermicro/h8scm_fam10/mptable.c b/src/mainboard/supermicro/h8scm_fam10/mptable.c index 3e6ef3a61d..9acf299deb 100644 --- a/src/mainboard/supermicro/h8scm_fam10/mptable.c +++ b/src/mainboard/supermicro/h8scm_fam10/mptable.c @@ -25,7 +25,6 @@ extern u8 bus_sp5100[2]; extern u32 apicid_sp5100; -extern u32 sbdn_sp5100; static void *smp_write_config_table(void *v) @@ -51,7 +50,7 @@ static void *smp_write_config_table(void *v) u8 byte; dev = dev_find_slot(0, //bus_sp5100[0], TODO: why bus_sp5100[0] use same value of bus_sr5650[0] assigned by get_pci1234(), instead of 0. - PCI_DEVFN(sbdn_sp5100 + 0x14, 0)); + PCI_DEVFN(0x14, 0)); if (dev) { dword = (u32 *)(pci_read_config32(dev, 0x74) & 0xfffffff0); smp_write_ioapic(mc, apicid_sp5100, 0x11, dword); |