summaryrefslogtreecommitdiff
path: root/src/mainboard/google/guybrush
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-10-25 17:48:30 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-10-26 17:44:33 +0000
commit886c1ffc652efe7e0d3345dfb34a38669041e467 (patch)
tree785b916191467c278f5e27311cab13475ad092d2 /src/mainboard/google/guybrush
parenta7b86c33621eb7a45c84aaf81f342f2ea4ccbebc (diff)
mb/amd,google: move fch_irq_routing struct definition to soc/amd
Define the fch_irq_routing struct once in a common header file instead of in every mainboard's code. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I11d9000b6ed7529e4afd7f6e8a7332c390da6dab Reviewed-on: https://review.coreboot.org/c/coreboot/+/68817 Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/guybrush')
-rw-r--r--src/mainboard/google/guybrush/mainboard.c6
1 files changed, 1 insertions, 5 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 },