summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/mandolin/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/amd/mandolin/mainboard.c')
-rw-r--r--src/mainboard/amd/mandolin/mainboard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/amd/mandolin/mainboard.c b/src/mainboard/amd/mandolin/mainboard.c
index 43fa4152ff..6c4e545fd6 100644
--- a/src/mainboard/amd/mandolin/mainboard.c
+++ b/src/mainboard/amd/mandolin/mainboard.c
@@ -26,7 +26,7 @@
static uint8_t fch_pic_routing[FCH_IRQ_ROUTING_ENTRIES];
static uint8_t fch_apic_routing[FCH_IRQ_ROUTING_ENTRIES];
-static const struct fch_irq_routing mandolin_fch[] = {
+static const struct fch_irq_routing fch_irq_map[] = {
{ PIRQ_A, 8, 16 },
{ PIRQ_B, 10, 17 },
{ PIRQ_C, 11, 18 },
@@ -59,8 +59,8 @@ static void init_tables(void)
memset(fch_pic_routing, PIRQ_NC, sizeof(fch_pic_routing));
memset(fch_apic_routing, PIRQ_NC, sizeof(fch_apic_routing));
- for (i = 0; i < ARRAY_SIZE(mandolin_fch); i++) {
- entry = mandolin_fch + i;
+ for (i = 0; i < ARRAY_SIZE(fch_irq_map); i++) {
+ entry = fch_irq_map + i;
fch_pic_routing[entry->intr_index] = entry->pic_irq_num;
fch_apic_routing[entry->intr_index] = entry->apic_irq_num;
}