From f79f00991cd708dd426e5509cbd398e2c1b244ed Mon Sep 17 00:00:00 2001 From: Michael Niewöhner Date: Tue, 24 Nov 2020 14:33:15 +0100 Subject: mb/supermicro/x11-lga1151-series: set FADT PM profile to ENTERPRISE_SERVER MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Set the FADT PM profile to ENTERPRISE_SERVER, since the currently supported X11 boards are server boards. Signed-off-by: Michael Niewöhner Change-Id: I8fb5c7c262fbd3f3c085d7c2e2ef3d6ff6ce73eb Reviewed-on: https://review.coreboot.org/c/coreboot/+/48088 Reviewed-by: Patrick Rudolph Tested-by: build bot (Jenkins) --- src/mainboard/supermicro/x11-lga1151-series/Makefile.inc | 1 + src/mainboard/supermicro/x11-lga1151-series/fadt.c | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 src/mainboard/supermicro/x11-lga1151-series/fadt.c (limited to 'src') diff --git a/src/mainboard/supermicro/x11-lga1151-series/Makefile.inc b/src/mainboard/supermicro/x11-lga1151-series/Makefile.inc index 035dd281bb..a4ebe461b0 100644 --- a/src/mainboard/supermicro/x11-lga1151-series/Makefile.inc +++ b/src/mainboard/supermicro/x11-lga1151-series/Makefile.inc @@ -7,5 +7,6 @@ bootblock-y += variants/$(VARIANT_DIR)/gpio_early.c ramstage-y += mainboard.c ramstage-y += variants/$(VARIANT_DIR)/gpio.c +ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c subdirs-y += variants/$(VARIANT_DIR) diff --git a/src/mainboard/supermicro/x11-lga1151-series/fadt.c b/src/mainboard/supermicro/x11-lga1151-series/fadt.c new file mode 100644 index 0000000000..6306e03e30 --- /dev/null +++ b/src/mainboard/supermicro/x11-lga1151-series/fadt.c @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include +#include + +void mainboard_fill_fadt(acpi_fadt_t *fadt) +{ + fadt->preferred_pm_profile = PM_ENTERPRISE_SERVER; +} -- cgit v1.2.3