summaryrefslogtreecommitdiff
path: root/src/mainboard/google/skyrim/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/skyrim/mainboard.c')
-rw-r--r--src/mainboard/google/skyrim/mainboard.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mainboard/google/skyrim/mainboard.c b/src/mainboard/google/skyrim/mainboard.c
index 0b707d745b..58e11f5503 100644
--- a/src/mainboard/google/skyrim/mainboard.c
+++ b/src/mainboard/google/skyrim/mainboard.c
@@ -16,11 +16,8 @@
* Index/Data pair. These values are chipset and mainboard
* dependent and should be updated accordingly.
*/
-static uint8_t fch_pic_routing[0x80];
-static uint8_t fch_apic_routing[0x80];
-
-_Static_assert(sizeof(fch_pic_routing) == sizeof(fch_apic_routing),
- "PIC and APIC FCH interrupt tables must be the same size");
+static uint8_t fch_pic_routing[FCH_IRQ_ROUTING_ENTRIES];
+static uint8_t fch_apic_routing[FCH_IRQ_ROUTING_ENTRIES];
/*
* This controls the device -> IRQ routing.