From 04e6f070aa58338a8ac7852172f75914baab5382 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Fri, 4 Oct 2013 11:54:54 -0700 Subject: samus: Add ACPI MADT interrupt override for GPIO IRQ 14 This interrupt needs to be specified in the MADT before it can be used by the kernel driver. Change-Id: Ic920a792a203cb06cd4529815680584a21532106 Signed-off-by: Duncan Laurie Reviewed-on: https://chromium-review.googlesource.com/171902 Reviewed-by: Aaron Durbin (cherry picked from commit a330fddb62cb6346ad66ceb5b5c32b66aecd81e2) Signed-off-by: Isaac Christensen Reviewed-on: http://review.coreboot.org/6778 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan --- src/mainboard/google/samus/acpi_tables.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mainboard/google/samus/acpi_tables.c b/src/mainboard/google/samus/acpi_tables.c index 342a4db7e2..a96cb2437d 100644 --- a/src/mainboard/google/samus/acpi_tables.c +++ b/src/mainboard/google/samus/acpi_tables.c @@ -112,6 +112,10 @@ unsigned long acpi_fill_madt(unsigned long current) current += acpi_create_madt_irqoverride((acpi_madt_irqoverride_t *) current, 0, 9, 9, MP_IRQ_TRIGGER_LEVEL | MP_IRQ_POLARITY_HIGH); + /* GPIO Controller */ + current += acpi_create_madt_irqoverride((acpi_madt_irqoverride_t *) + current, 0, 14, 14, MP_IRQ_TRIGGER_LEVEL | MP_IRQ_POLARITY_HIGH); + return current; } -- cgit v1.2.3