From 886c1ffc652efe7e0d3345dfb34a38669041e467 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Tue, 25 Oct 2022 17:48:30 +0200 Subject: 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 Change-Id: I11d9000b6ed7529e4afd7f6e8a7332c390da6dab Reviewed-on: https://review.coreboot.org/c/coreboot/+/68817 Reviewed-by: Fred Reitberger Tested-by: build bot (Jenkins) --- src/mainboard/amd/majolica/mainboard.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/mainboard/amd/majolica') diff --git a/src/mainboard/amd/majolica/mainboard.c b/src/mainboard/amd/majolica/mainboard.c index 199cf4702e..58f754655f 100644 --- a/src/mainboard/amd/majolica/mainboard.c +++ b/src/mainboard/amd/majolica/mainboard.c @@ -31,11 +31,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; -} majolica_fch[] = { +static const struct fch_irq_routing majolica_fch[] = { { PIRQ_A, 12, PIRQ_NC }, { PIRQ_B, 14, PIRQ_NC }, { PIRQ_C, 15, PIRQ_NC }, -- cgit v1.2.3