vc/amd/opensil/stub/ramstage: add acpi_add_opensil_tables stub

In the non-stub openSIL coreboot glue code, this can be used to add the
ALIB SSDT.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I3ccd2e81211417ad4ac94f208572e0fa4e1cf97c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82012
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Held
2024-04-19 17:07:36 +02:00
parent 62535b66e6
commit d7427c6dc8
2 changed files with 8 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ unsigned long soc_acpi_write_tables(const struct device *device, unsigned long c
acpi_rsdp_t *rsdp);
unsigned long acpi_add_fsp_tables(unsigned long current, acpi_rsdp_t *rsdp);
unsigned long acpi_add_opensil_tables(unsigned long current, acpi_rsdp_t *rsdp);
unsigned long southbridge_write_acpi_tables(const struct device *device, unsigned long current,
struct acpi_rsdp *rsdp);

View File

@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <acpi/acpi.h>
#include <amdblocks/acpi.h>
#include <device/device.h>
#include "opensil.h"
@@ -14,6 +15,12 @@ void opensil_fill_fadt_io_ports(acpi_fadt_t *fadt)
printk(BIOS_NOTICE, "openSIL stub: %s\n", __func__);
}
unsigned long acpi_add_opensil_tables(unsigned long current, acpi_rsdp_t *rsdp)
{
printk(BIOS_NOTICE, "openSIL stub: %s\n", __func__);
return current;
}
void setup_opensil(void)
{
printk(BIOS_NOTICE, "openSIL stub: %s\n", __func__);