summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/guybrush/mainboard.c6
-rw-r--r--src/mainboard/google/skyrim/mainboard.c6
-rw-r--r--src/mainboard/google/zork/mainboard.c6
3 files changed, 3 insertions, 15 deletions
diff --git a/src/mainboard/google/guybrush/mainboard.c b/src/mainboard/google/guybrush/mainboard.c
index 9a1c24d82c..4bcb52e3fa 100644
--- a/src/mainboard/google/guybrush/mainboard.c
+++ b/src/mainboard/google/guybrush/mainboard.c
@@ -46,11 +46,7 @@ _Static_assert(sizeof(fch_pic_routing) == sizeof(fch_apic_routing),
* 8: rtc0 <- soc/amd/common/acpi/lpc.asl
* 9: acpi <- soc/amd/common/acpi/lpc.asl
*/
-static const struct fch_irq_routing {
- uint8_t intr_index;
- uint8_t pic_irq_num;
- uint8_t apic_irq_num;
-} guybrush_fch[] = {
+static const struct fch_irq_routing guybrush_fch[] = {
{ PIRQ_A, 12, PIRQ_NC },
{ PIRQ_B, 14, PIRQ_NC },
{ PIRQ_C, 15, PIRQ_NC },
diff --git a/src/mainboard/google/skyrim/mainboard.c b/src/mainboard/google/skyrim/mainboard.c
index 6af647ca9f..0b707d745b 100644
--- a/src/mainboard/google/skyrim/mainboard.c
+++ b/src/mainboard/google/skyrim/mainboard.c
@@ -33,11 +33,7 @@ _Static_assert(sizeof(fch_pic_routing) == sizeof(fch_apic_routing),
* 9: acpi <- soc/amd/common/acpi/lpc.asl
*/
-static const struct fch_irq_routing {
- uint8_t intr_index;
- uint8_t pic_irq_num;
- uint8_t apic_irq_num;
-} skyrim_fch[] = {
+static const struct fch_irq_routing skyrim_fch[] = {
{ PIRQ_A, 12, PIRQ_NC },
{ PIRQ_B, 14, PIRQ_NC },
{ PIRQ_C, 15, PIRQ_NC },
diff --git a/src/mainboard/google/zork/mainboard.c b/src/mainboard/google/zork/mainboard.c
index 82e5c6aaad..fedf1cce3c 100644
--- a/src/mainboard/google/zork/mainboard.c
+++ b/src/mainboard/google/zork/mainboard.c
@@ -56,11 +56,7 @@ _Static_assert(sizeof(fch_pic_routing) == sizeof(fch_apic_routing),
* 9: acpi <- soc/amd/common/acpi/lpc.asl
* 12: i8042 <- ec/google/chromeec/acpi/superio.asl
*/
-static const struct fch_irq_routing {
- uint8_t intr_index;
- uint8_t pic_irq_num;
- uint8_t apic_irq_num;
-} fch_pirq[] = {
+static const struct fch_irq_routing fch_pirq[] = {
{ PIRQ_A, 6, PIRQ_NC },
{ PIRQ_B, 13, PIRQ_NC },
{ PIRQ_C, 14, PIRQ_NC },