From a0336e3e9ca914c08c98bf5ec4b11a4c0429fa75 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Sun, 16 Aug 2020 21:27:44 +0800 Subject: mb/hp: EliteBook 820 G1 --- src/mainboard/hp/820g1/acpi_tables.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/mainboard/hp/820g1/acpi_tables.c (limited to 'src/mainboard/hp/820g1/acpi_tables.c') diff --git a/src/mainboard/hp/820g1/acpi_tables.c b/src/mainboard/hp/820g1/acpi_tables.c new file mode 100644 index 0000000000..05e01f0961 --- /dev/null +++ b/src/mainboard/hp/820g1/acpi_tables.c @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include +#include + +/* FIXME: check this function. */ +void acpi_create_gnvs(struct global_nvs *gnvs) +{ + /* The lid is open by default. FIXME: not on desktops? */ + gnvs->lids = 1; + + /* Temperature at which OS will shutdown */ + gnvs->tcrt = 100; + /* Temperature at which OS will throttle CPU */ + gnvs->tpsv = 90; +} -- cgit v1.2.3