diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-01-03 11:38:59 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-01-04 17:23:17 +0000 |
commit | b30e2bfe34836261d2e807c301f6b5542df8c360 (patch) | |
tree | 1d7bccf68e142c6c6a95dd9370a68efb93906c6b /src/mainboard/asus/kcma-d8/irq_tables.c | |
parent | 21c60fa2b2907776e2faee5bf39e6c8a8d4c4f65 (diff) | |
download | coreboot-b30e2bfe34836261d2e807c301f6b5542df8c360.tar.xz |
amdfam10 boards: Drop array bus_sp5100
Only bus_sp5100[0] is evaluated.
Change-Id: I42a5040ea70a84fb674f2c616c6eba7b23dcdc29
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/30645
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/asus/kcma-d8/irq_tables.c')
-rw-r--r-- | src/mainboard/asus/kcma-d8/irq_tables.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mainboard/asus/kcma-d8/irq_tables.c b/src/mainboard/asus/kcma-d8/irq_tables.c index df6dae06cc..06e842a09b 100644 --- a/src/mainboard/asus/kcma-d8/irq_tables.c +++ b/src/mainboard/asus/kcma-d8/irq_tables.c @@ -60,7 +60,6 @@ static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn, pirq_info->rfu = rfu; } -extern u8 bus_sp5100[2]; unsigned long write_pirq_routing_table(unsigned long addr) { @@ -86,7 +85,7 @@ unsigned long write_pirq_routing_table(unsigned long addr) pirq->version = PIRQ_VERSION; /* Where the interrupt router resides */ - pirq->rtr_bus = bus_sp5100[0]; + pirq->rtr_bus = pirq_router_bus; pirq->rtr_devfn = PCI_DEVFN(0x14, 4); pirq->exclusive_irqs = 0; @@ -102,7 +101,7 @@ unsigned long write_pirq_routing_table(unsigned long addr) slot_num = 0; /* pci bridge */ - write_pirq_info(pirq_info, bus_sp5100[0], + write_pirq_info(pirq_info, pirq_router_bus, PCI_DEVFN(0x14, 4), LNKA, IRQBM, LNKB, IRQBM, LNKC, IRQBM, LNKD, IRQBM, 0, 0); pirq_info++; |