summaryrefslogtreecommitdiffstats
path: root/src/mainboard/amd
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-01-14 00:39:08 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-01-16 15:45:14 +0000
commit8c41000862a1031782e6890b833b25704a3b378d (patch)
tree84dd74ba6c2fd5bd821ed59b41c9b759129f3798 /src/mainboard/amd
parentc2ed1e9ba006610d4909e38cfeb30e5cc0f9a71f (diff)
downloadcoreboot-8c41000862a1031782e6890b833b25704a3b378d.tar.gz
coreboot-8c41000862a1031782e6890b833b25704a3b378d.tar.bz2
coreboot-8c41000862a1031782e6890b833b25704a3b378d.zip
soc/amd/picasso/include/acpi: introduce and use ACPI_SCI_IRQ definition
The newer AMD SoCs define ACPI_SCI_IRQ in the SoC's acpi.h header file and use this definition in the mainboard code, so port this back to Picasso. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ib569747aa388d7953e79de747905fb52c2a05e74 Reviewed-on: https://review.coreboot.org/c/coreboot/+/71912 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/mainboard/amd')
-rw-r--r--src/mainboard/amd/bilby/mainboard.c3
-rw-r--r--src/mainboard/amd/mandolin/mainboard.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/mainboard/amd/bilby/mainboard.c b/src/mainboard/amd/bilby/mainboard.c
index a751126ef72f..5e209462ae3e 100644
--- a/src/mainboard/amd/bilby/mainboard.c
+++ b/src/mainboard/amd/bilby/mainboard.c
@@ -5,6 +5,7 @@
#include <amdblocks/amd_pci_util.h>
#include <FspsUpd.h>
#include <gpio.h>
+#include <soc/acpi.h>
#include <soc/cpu.h>
#include <soc/southbridge.h>
#include <soc/pci_devs.h>
@@ -26,7 +27,7 @@ static const struct fch_irq_routing fch_irq_map[] = {
{ PIRQ_B, 10, 17 },
{ PIRQ_C, 11, 18 },
{ PIRQ_D, 12, 19 },
- { PIRQ_SCI, 9, 9 },
+ { PIRQ_SCI, ACPI_SCI_IRQ, ACPI_SCI_IRQ },
{ PIRQ_SD, PIRQ_NC, 16 },
{ PIRQ_SDIO, PIRQ_NC, 16 },
{ PIRQ_SATA, PIRQ_NC, 19 },
diff --git a/src/mainboard/amd/mandolin/mainboard.c b/src/mainboard/amd/mandolin/mainboard.c
index 6a275145eb98..d3b79e613421 100644
--- a/src/mainboard/amd/mandolin/mainboard.c
+++ b/src/mainboard/amd/mandolin/mainboard.c
@@ -4,6 +4,7 @@
#include <device/device.h>
#include <amdblocks/amd_pci_util.h>
#include <FspsUpd.h>
+#include <soc/acpi.h>
#include <soc/cpu.h>
#include <soc/southbridge.h>
#include <soc/pci_devs.h>
@@ -21,7 +22,7 @@ static const struct fch_irq_routing fch_irq_map[] = {
{ PIRQ_B, 10, 17 },
{ PIRQ_C, 11, 18 },
{ PIRQ_D, 12, 19 },
- { PIRQ_SCI, 9, 9 },
+ { PIRQ_SCI, ACPI_SCI_IRQ, ACPI_SCI_IRQ },
{ PIRQ_SD, PIRQ_NC, 16 },
{ PIRQ_SDIO, PIRQ_NC, 16 },
{ PIRQ_SATA, PIRQ_NC, 19 },