diff options
author | Michael Niewöhner <foss@mniewoehner.de> | 2020-11-24 14:33:15 +0100 |
---|---|---|
committer | Michael Niewöhner <foss@mniewoehner.de> | 2020-11-29 07:29:21 +0000 |
commit | f79f00991cd708dd426e5509cbd398e2c1b244ed (patch) | |
tree | 9d6c1e478c7c009f30c9feb88d5f61b4d4ddfec5 | |
parent | c1d1dddbccba1d1468b75bc8d4685bd8e7184264 (diff) |
mb/supermicro/x11-lga1151-series: set FADT PM profile to ENTERPRISE_SERVER
Set the FADT PM profile to ENTERPRISE_SERVER, since the currently
supported X11 boards are server boards.
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Change-Id: I8fb5c7c262fbd3f3c085d7c2e2ef3d6ff6ce73eb
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48088
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/mainboard/supermicro/x11-lga1151-series/Makefile.inc | 1 | ||||
-rw-r--r-- | src/mainboard/supermicro/x11-lga1151-series/fadt.c | 9 |
2 files changed, 10 insertions, 0 deletions
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 <acpi/acpi.h> +#include <soc/acpi.h> + +void mainboard_fill_fadt(acpi_fadt_t *fadt) +{ + fadt->preferred_pm_profile = PM_ENTERPRISE_SERVER; +} |