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:
@@ -56,6 +56,7 @@ unsigned long soc_acpi_write_tables(const struct device *device, unsigned long c
|
|||||||
acpi_rsdp_t *rsdp);
|
acpi_rsdp_t *rsdp);
|
||||||
|
|
||||||
unsigned long acpi_add_fsp_tables(unsigned long current, 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,
|
unsigned long southbridge_write_acpi_tables(const struct device *device, unsigned long current,
|
||||||
struct acpi_rsdp *rsdp);
|
struct acpi_rsdp *rsdp);
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
#include <acpi/acpi.h>
|
#include <acpi/acpi.h>
|
||||||
|
#include <amdblocks/acpi.h>
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
#include "opensil.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__);
|
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)
|
void setup_opensil(void)
|
||||||
{
|
{
|
||||||
printk(BIOS_NOTICE, "openSIL stub: %s\n", __func__);
|
printk(BIOS_NOTICE, "openSIL stub: %s\n", __func__);
|
||||||
|
Reference in New Issue
Block a user