summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/amd/common/block/include/amdblocks/amd_pci_util.h2
-rw-r--r--src/soc/amd/common/fsp/pci/pci_routing_info.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/amd_pci_util.h b/src/soc/amd/common/block/include/amdblocks/amd_pci_util.h
index f862bf997d..db8b70463c 100644
--- a/src/soc/amd/common/block/include/amdblocks/amd_pci_util.h
+++ b/src/soc/amd/common/block/include/amdblocks/amd_pci_util.h
@@ -57,7 +57,7 @@ struct pci_routing_info {
uint8_t devfn;
uint8_t group;
uint8_t swizzle;
- uint8_t irq;
+ uint8_t bridge_irq; /* also called 'map' */
} __packed;
void populate_pirq_data(void);
diff --git a/src/soc/amd/common/fsp/pci/pci_routing_info.c b/src/soc/amd/common/fsp/pci/pci_routing_info.c
index 5e3c368c0f..96ea1ff872 100644
--- a/src/soc/amd/common/fsp/pci/pci_routing_info.c
+++ b/src/soc/amd/common/fsp/pci/pci_routing_info.c
@@ -34,9 +34,9 @@ const struct pci_routing_info *get_pci_routing_table(size_t *entries)
routing_table_entries = routing_hob->num_of_entries;
for (size_t i = 0; i < routing_table_entries; ++i) {
- printk(BIOS_DEBUG, "%02x.%x: group: %u, swizzle: %u, irq: %u\n",
+ printk(BIOS_DEBUG, "%02x.%x: group: %u, swizzle: %u, bridge irq: %u\n",
PCI_SLOT(routing_table[i].devfn), PCI_FUNC(routing_table[i].devfn),
- routing_table[i].group, routing_table[i].swizzle, routing_table[i].irq);
+ routing_table[i].group, routing_table[i].swizzle, routing_table[i].bridge_irq);
}
*entries = routing_table_entries;