mb/ocp/deltalake: Rename motherboard_fill_fadt()
Rename motherboard_fill_fadt() to the common override mainboard_fill_fadt() function to override FADT. Tested=On OCP Delta Lake, verify FADT PM Profile is set to Enterprise Server. Signed-off-by: Jingle Hsu <jingle_hsu@wiwynn.com> Change-Id: Ie9ea7cc6e712d0aca57bbeac1a4154921d123be4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/46836 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
bd0a222ab4
commit
83a2a007c7
|
@ -3,7 +3,7 @@
|
||||||
#include <acpi/acpi.h>
|
#include <acpi/acpi.h>
|
||||||
#include <soc/acpi.h>
|
#include <soc/acpi.h>
|
||||||
|
|
||||||
void motherboard_fill_fadt(acpi_fadt_t *fadt)
|
void mainboard_fill_fadt(acpi_fadt_t *fadt)
|
||||||
{
|
{
|
||||||
fadt->preferred_pm_profile = PM_ENTERPRISE_SERVER;
|
fadt->preferred_pm_profile = PM_ENTERPRISE_SERVER;
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,6 @@ typedef struct {
|
||||||
unsigned long northbridge_write_acpi_tables(const struct device *device,
|
unsigned long northbridge_write_acpi_tables(const struct device *device,
|
||||||
unsigned long current, struct acpi_rsdp *rsdp);
|
unsigned long current, struct acpi_rsdp *rsdp);
|
||||||
|
|
||||||
void motherboard_fill_fadt(acpi_fadt_t *fadt);
|
|
||||||
|
|
||||||
int calculate_power(int tdp, int p1_ratio, int ratio);
|
int calculate_power(int tdp, int p1_ratio, int ratio);
|
||||||
void uncore_inject_dsdt(const struct device *device);
|
void uncore_inject_dsdt(const struct device *device);
|
||||||
|
|
Loading…
Reference in New Issue