summaryrefslogtreecommitdiff
path: root/src/soc/amd/mendocino
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/mendocino
parentd9e826322031f5936231be44e3b2c406be40a304 (diff)
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/mendocino')
-rw-r--r--src/soc/amd/mendocino/acpi.c1
-rw-r--r--src/soc/amd/mendocino/agesa_acpi.c1
-rw-r--r--src/soc/amd/mendocino/include/soc/acpi.h8
3 files changed, 0 insertions, 10 deletions
diff --git a/src/soc/amd/mendocino/acpi.c b/src/soc/amd/mendocino/acpi.c
index 80d407cce2..11261db91a 100644
--- a/src/soc/amd/mendocino/acpi.c
+++ b/src/soc/amd/mendocino/acpi.c
@@ -15,7 +15,6 @@
#include <arch/smp/mpspec.h>
#include <console/console.h>
#include <cpu/amd/cpuid.h>
-#include <soc/acpi.h>
#include <soc/iomap.h>
#include <types.h>
#include "chip.h"
diff --git a/src/soc/amd/mendocino/agesa_acpi.c b/src/soc/amd/mendocino/agesa_acpi.c
index 8866fc486f..7ff8403a9d 100644
--- a/src/soc/amd/mendocino/agesa_acpi.c
+++ b/src/soc/amd/mendocino/agesa_acpi.c
@@ -6,7 +6,6 @@
#include <amdblocks/acpi.h>
#include <device/device.h>
#include <FspGuids.h>
-#include <soc/acpi.h>
#include <types.h>
unsigned long soc_acpi_write_tables(const struct device *device, unsigned long current,
diff --git a/src/soc/amd/mendocino/include/soc/acpi.h b/src/soc/amd/mendocino/include/soc/acpi.h
deleted file mode 100644
index 25f9234938..0000000000
--- a/src/soc/amd/mendocino/include/soc/acpi.h
+++ /dev/null
@@ -1,8 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-
-#ifndef AMD_MENDOCINO_ACPI_H
-#define AMD_MENDOCINO_ACPI_H
-
-#define ACPI_SCI_IRQ 9
-
-#endif /* AMD_MENDOCINO_ACPI_H */