diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2024-01-26 14:41:14 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-01-27 16:39:21 +0000 |
commit | 0079200e8d45db31fcd0a2501f281809523329ca (patch) | |
tree | 8fa84b0ebad6e4e979ae7be4a1ea0f034474f483 /src/soc/amd/picasso | |
parent | d9e826322031f5936231be44e3b2c406be40a304 (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/picasso')
-rw-r--r-- | src/soc/amd/picasso/acpi.c | 1 | ||||
-rw-r--r-- | src/soc/amd/picasso/agesa_acpi.c | 1 | ||||
-rw-r--r-- | src/soc/amd/picasso/fch.c | 1 | ||||
-rw-r--r-- | src/soc/amd/picasso/include/soc/acpi.h | 8 |
4 files changed, 0 insertions, 11 deletions
diff --git a/src/soc/amd/picasso/acpi.c b/src/soc/amd/picasso/acpi.c index 92f48df32e..d864053f19 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 bde9543e29..5e1f8e8667 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 a1eef6f534..bfe65a2b9e 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 8dee91ded3..0000000000 --- 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 */ |