diff options
author | Iru Cai <mytbk920423@gmail.com> | 2020-08-16 21:27:44 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2020-09-16 01:06:28 +0800 |
commit | a0336e3e9ca914c08c98bf5ec4b11a4c0429fa75 (patch) | |
tree | badbb71eb5ab15265fef12033521160cb8d86a7a /src/mainboard/hp/820g1/acpi_tables.c | |
parent | 5d3d0cce388753130bd00b903d3c3ece3a444c72 (diff) | |
download | coreboot-a0336e3e9ca914c08c98bf5ec4b11a4c0429fa75.tar.xz |
mb/hp: EliteBook 820 G1
Diffstat (limited to 'src/mainboard/hp/820g1/acpi_tables.c')
-rw-r--r-- | src/mainboard/hp/820g1/acpi_tables.c | 16 |
1 files changed, 16 insertions, 0 deletions
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 <acpi/acpi_gnvs.h> +#include <southbridge/intel/lynxpoint/nvs.h> + +/* 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; +} |