summaryrefslogtreecommitdiff
path: root/src/mainboard/gigabyte/ma785gmt/mptable.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-01-03 11:39:03 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-01-04 17:23:44 +0000
commitee7e1300f44a635c12abcdfae46453ca253d6499 (patch)
treef031187fa86646de466207c878a3cf3345f376de /src/mainboard/gigabyte/ma785gmt/mptable.c
parentbf2d227135307a329ba137f6245fbeac5cf34f4e (diff)
amdfam10 boards: Drop array bus_sb700
Only bus_sb700[0] is evaluated. Change-Id: Ie2cbbdebed3ae03da916d02919cd6a5d36f53562 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/30647 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/gigabyte/ma785gmt/mptable.c')
-rw-r--r--src/mainboard/gigabyte/ma785gmt/mptable.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/gigabyte/ma785gmt/mptable.c b/src/mainboard/gigabyte/ma785gmt/mptable.c
index 1fd89cc2de..895b747f2e 100644
--- a/src/mainboard/gigabyte/ma785gmt/mptable.c
+++ b/src/mainboard/gigabyte/ma785gmt/mptable.c
@@ -20,7 +20,6 @@
#include <stdint.h>
#include <cpu/amd/amdfam10_sysconf.h>
-extern u8 bus_sb700[2];
extern u32 apicid_sb700;
@@ -45,7 +44,7 @@ static void *smp_write_config_table(void *v)
u8 byte;
dev =
- dev_find_slot(bus_sb700[0],
+ dev_find_slot(pirq_router_bus,
PCI_DEVFN(0x14, 0));
if (dev) {
dword = pci_read_config32(dev, 0x74) & 0xfffffff0;