summaryrefslogtreecommitdiff
path: root/src/soc/amd/genoa_poc
diff options
context:
space:
mode:
authorNicolas Kochlowski <nickkochlowski@gmail.com>2024-09-19 12:16:02 -0300
committerMarshall Dawson <marshalldawson3rd@gmail.com>2024-09-25 15:03:33 +0000
commit8923dceaf7a78b1a5936033501328579a8ef80ce (patch)
treebbd0f81ab85dc8d8b0bd910e398f74a2e24ec1ba /src/soc/amd/genoa_poc
parent42a6c0c24d4cd6a57479cdedd78cdd85312573e7 (diff)
vc/amd/opensil: Move openSIL interface declarations to common header
The declarations describing interface functions between SoCs and openSIL glue code are common for the stub and Genoa POC, and likely with future SoC openSIL implementations. Therefore, move these out of SoC-specific header files and into vc/amd/opensil/opensil.h. This change facilitates swapping out the stub for the actual openSIL glue code. Change-Id: Icc8783ddb868f9f0c4cd357245604313eadfe531 Signed-off-by: Nicolas Kochlowski <nickkochlowski@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84428 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/genoa_poc')
-rw-r--r--src/soc/amd/genoa_poc/acpi.c2
-rw-r--r--src/soc/amd/genoa_poc/chip.c2
-rw-r--r--src/soc/amd/genoa_poc/domain.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/amd/genoa_poc/acpi.c b/src/soc/amd/genoa_poc/acpi.c
index fc223047be..9b8011dcc6 100644
--- a/src/soc/amd/genoa_poc/acpi.c
+++ b/src/soc/amd/genoa_poc/acpi.c
@@ -8,7 +8,7 @@
#include <amdblocks/cpu.h>
#include <arch/ioapic.h>
#include <device/device.h>
-#include <vendorcode/amd/opensil/genoa_poc/opensil.h>
+#include <vendorcode/amd/opensil/opensil.h>
void acpi_fill_fadt(acpi_fadt_t *fadt)
{
diff --git a/src/soc/amd/genoa_poc/chip.c b/src/soc/amd/genoa_poc/chip.c
index a763dab862..75f5bccb00 100644
--- a/src/soc/amd/genoa_poc/chip.c
+++ b/src/soc/amd/genoa_poc/chip.c
@@ -5,7 +5,7 @@
#include <device/device.h>
#include <soc/southbridge.h>
#include <soc/southbridge.h>
-#include <vendorcode/amd/opensil/genoa_poc/opensil.h>
+#include <vendorcode/amd/opensil/opensil.h>
static void soc_init(void *chip_info)
{
diff --git a/src/soc/amd/genoa_poc/domain.c b/src/soc/amd/genoa_poc/domain.c
index b6369a47d0..65b13958cb 100644
--- a/src/soc/amd/genoa_poc/domain.c
+++ b/src/soc/amd/genoa_poc/domain.c
@@ -11,7 +11,7 @@
#include <device/device.h>
#include <types.h>
-#include <vendorcode/amd/opensil/genoa_poc/opensil.h>
+#include <vendorcode/amd/opensil/opensil.h>
#define IOHC_IOAPIC_BASE_ADDR_LO 0x2f0