summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/picasso
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2024-01-26 14:41:14 +0100
committerFelix Held <felix-coreboot@felixheld.de>2024-01-27 16:39:21 +0000
commit0079200e8d45db31fcd0a2501f281809523329ca (patch)
tree8fa84b0ebad6e4e979ae7be4a1ea0f034474f483 /src/soc/amd/picasso
parentd9e826322031f5936231be44e3b2c406be40a304 (diff)
downloadcoreboot-0079200e8d45db31fcd0a2501f281809523329ca.tar.gz
coreboot-0079200e8d45db31fcd0a2501f281809523329ca.tar.bz2
coreboot-0079200e8d45db31fcd0a2501f281809523329ca.zip
soc/amd: use common ACPI_SCI_IRQ definition
ACPI_SCI_IRQ is defined as 9 for all AMD SoCs, so move the definition to the common amdblocks/acpi.h. Since all but Stoneyridge's soc/acpi.h are now empty, delete those files too. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I8210c98dc4cf2c6001d5273d132053278ff7fea5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80222 Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/picasso')
-rw-r--r--src/soc/amd/picasso/acpi.c1
-rw-r--r--src/soc/amd/picasso/agesa_acpi.c1
-rw-r--r--src/soc/amd/picasso/fch.c1
-rw-r--r--src/soc/amd/picasso/include/soc/acpi.h8
4 files changed, 0 insertions, 11 deletions
diff --git a/src/soc/amd/picasso/acpi.c b/src/soc/amd/picasso/acpi.c
index 92f48df32e38..d864053f1901 100644
--- a/src/soc/amd/picasso/acpi.c
+++ b/src/soc/amd/picasso/acpi.c
@@ -19,7 +19,6 @@
#include <amdblocks/chip.h>
#include <amdblocks/cpu.h>
#include <amdblocks/ioapic.h>
-#include <soc/acpi.h>
#include <soc/pci_devs.h>
#include <soc/southbridge.h>
#include "chip.h"
diff --git a/src/soc/amd/picasso/agesa_acpi.c b/src/soc/amd/picasso/agesa_acpi.c
index bde9543e29b9..5e1f8e8667cb 100644
--- a/src/soc/amd/picasso/agesa_acpi.c
+++ b/src/soc/amd/picasso/agesa_acpi.c
@@ -14,7 +14,6 @@
#include <device/pci_def.h>
#include <device/pci_ops.h>
#include <FspGuids.h>
-#include <soc/acpi.h>
#include <soc/data_fabric.h>
#include <soc/pci_devs.h>
#include <stdint.h>
diff --git a/src/soc/amd/picasso/fch.c b/src/soc/amd/picasso/fch.c
index a1eef6f53409..bfe65a2b9e49 100644
--- a/src/soc/amd/picasso/fch.c
+++ b/src/soc/amd/picasso/fch.c
@@ -13,7 +13,6 @@
#include <amdblocks/gpio.h>
#include <amdblocks/i2c.h>
#include <amdblocks/smi.h>
-#include <soc/acpi.h>
#include <soc/cpu.h>
#include <soc/i2c.h>
#include <soc/iomap.h>
diff --git a/src/soc/amd/picasso/include/soc/acpi.h b/src/soc/amd/picasso/include/soc/acpi.h
deleted file mode 100644
index 8dee91ded307..000000000000
--- a/src/soc/amd/picasso/include/soc/acpi.h
+++ /dev/null
@@ -1,8 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-
-#ifndef AMD_PICASSO_ACPI_H
-#define AMD_PICASSO_ACPI_H
-
-#define ACPI_SCI_IRQ 9
-
-#endif /* AMD_PICASSO_ACPI_H */