diff options
author | Felix Held <felix.held@amd.corp-partner.google.com> | 2020-06-19 20:34:58 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2020-06-20 19:09:58 +0000 |
commit | df99d13f258de07ada8a65316e4ebb70d1717899 (patch) | |
tree | ed4d4a219812fc064bc9f01bb170e9a3a7eb0bdc /src/mainboard/google | |
parent | 3b1f21e4f26483e3774b86d3b0e6c620a14f88cd (diff) |
mb/google/zork: rename fch_apic_routing struct to fch_irq_routing
fch_apic_routing is used as name of an array that init_tables()
populates with the APIC IRQ routing information. Also the fch_pirq array
where fch_apic_routing was used as struct name contains the IRQ mapping
for both PIC and APIC mode, so rename it to fch_irq_routing.
Change-Id: Iba7a2416c6e07cde1b8618bdabf31b00e3ca4dd1
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42569
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/zork/mainboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/zork/mainboard.c b/src/mainboard/google/zork/mainboard.c index b17c7f8b9d..f87066a2f3 100644 --- a/src/mainboard/google/zork/mainboard.c +++ b/src/mainboard/google/zork/mainboard.c @@ -70,7 +70,7 @@ static const struct pirq_struct mainboard_pirq_data[] = { * This controls the device -> IRQ routing. * The PIC values are limited to 0,1, 3 - 12, 14, 15. */ -static const struct fch_apic_routing { +static const struct fch_irq_routing { uint8_t intr_index; uint8_t pic_irq_num; uint8_t apic_irq_num; @@ -96,7 +96,7 @@ static const struct fch_apic_routing { static void init_tables(void) { - const struct fch_apic_routing *entry; + const struct fch_irq_routing *entry; int i; memset(fch_pic_routing, PIRQ_NC, sizeof(fch_pic_routing)); |