summaryrefslogtreecommitdiffstats
path: root/src/mainboard
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-02-27 21:10:58 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-02-28 20:26:39 +0000
commit1818ebd627f2eb3822505512ce047cd766e3c2c4 (patch)
tree44d5e0846b11623ac4994ea550821603981d5efb /src/mainboard
parent1a148753ef93b037cdff5f8d31a9045ddd2a20c3 (diff)
downloadcoreboot-1818ebd627f2eb3822505512ce047cd766e3c2c4.tar.gz
coreboot-1818ebd627f2eb3822505512ce047cd766e3c2c4.tar.bz2
coreboot-1818ebd627f2eb3822505512ce047cd766e3c2c4.zip
mb/google/kahlee/mainboard: use ACPI_SCI_IRQ definition
Use the ACPI_SCI_IRQ definition instead of a magic value. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ia860668b5c93b1b8882459d9f983cf3a23d16392 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73321 Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/kahlee/mainboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/kahlee/mainboard.c b/src/mainboard/google/kahlee/mainboard.c
index 51cc4f10ff4a..5ddc5ae7dd25 100644
--- a/src/mainboard/google/kahlee/mainboard.c
+++ b/src/mainboard/google/kahlee/mainboard.c
@@ -12,6 +12,7 @@
#include <boardid.h>
#include <gpio.h>
#include <smbios.h>
+#include <soc/acpi.h>
#include <soc/pci_devs.h>
#include <soc/southbridge.h>
#include <amdblocks/acpimmio.h>
@@ -29,7 +30,7 @@ static const struct fch_irq_routing fch_irq_map[] = {
{ PIRQ_F, PIRQ_NC, PIRQ_NC },
{ PIRQ_G, PIRQ_NC, 22 },
{ PIRQ_H, PIRQ_NC, 23 },
- { PIRQ_SCI, 9, 9 },
+ { PIRQ_SCI, ACPI_SCI_IRQ, ACPI_SCI_IRQ },
{ PIRQ_SMBUS, PIRQ_NC, PIRQ_NC },
{ PIRQ_HDA, 3, 16 },
{ PIRQ_SD, 3, 16 },