summaryrefslogtreecommitdiffstats
path: root/src/mainboard/lenovo/w541/acpi_tables.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/lenovo/w541/acpi_tables.c')
-rw-r--r--src/mainboard/lenovo/w541/acpi_tables.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/w541/acpi_tables.c b/src/mainboard/lenovo/w541/acpi_tables.c
new file mode 100644
index 000000000000..04318b56a89f
--- /dev/null
+++ b/src/mainboard/lenovo/w541/acpi_tables.c
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <acpi/acpi_gnvs.h>
+#include <soc/nvs.h>
+
+void mainboard_fill_gnvs(struct global_nvs *gnvs)
+{
+ /* The lid is open by default. */
+ gnvs->lids = 1;
+
+ /* Temperature at which OS will shut down. */
+ gnvs->tcrt = 100;
+ /* Temperature at which OS will throttle CPU. */
+ gnvs->tpsv = 90;
+}