summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJingle Hsu <jingle_hsu@wiwynn.com>2020-10-27 11:33:24 +0800
committerMarc Jones <marc@marcjonesconsulting.com>2020-10-28 02:33:38 +0000
commit83a2a007c783bf4fc37d29bdaae3a7b8a208b88e (patch)
treeb31b9ea2d094e55c1759b160218126e532379bd6
parentbd0a222ab44277ab48b8bf95419ae310b8ccf82e (diff)
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>
-rw-r--r--src/mainboard/ocp/deltalake/fadt.c2
-rw-r--r--src/soc/intel/xeon_sp/include/soc/acpi.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/ocp/deltalake/fadt.c b/src/mainboard/ocp/deltalake/fadt.c
index b9fcd582ef..6306e03e30 100644
--- a/src/mainboard/ocp/deltalake/fadt.c
+++ b/src/mainboard/ocp/deltalake/fadt.c
@@ -3,7 +3,7 @@
#include <acpi/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;
}
diff --git a/src/soc/intel/xeon_sp/include/soc/acpi.h b/src/soc/intel/xeon_sp/include/soc/acpi.h
index 61639d2a84..60d6321be4 100644
--- a/src/soc/intel/xeon_sp/include/soc/acpi.h
+++ b/src/soc/intel/xeon_sp/include/soc/acpi.h
@@ -20,7 +20,6 @@ typedef struct {
unsigned long northbridge_write_acpi_tables(const struct device *device,
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);
void uncore_inject_dsdt(const struct device *device);