summaryrefslogtreecommitdiff
path: root/src/mainboard/hp/probook_640_g1/acpi_tables.c
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2020-10-06 23:00:23 +0800
committerIru Cai <mytbk920423@gmail.com>2020-11-14 18:10:49 +0800
commit13433115c97e5559b506cab72be8ad56eed0df60 (patch)
tree8c293f521c1af2b92742d7e99c46040f56cff9d6 /src/mainboard/hp/probook_640_g1/acpi_tables.c
parente5e233e6d9dc12dbccdf07b810869d659954129c (diff)
downloadcoreboot-13433115c97e5559b506cab72be8ad56eed0df60.tar.xz
[WIP] mb/hp: Add HP ProBook 640 G1
Generate code from autoport. It boots to Arch Linux in a USB disk from SeaBIOS payload. This board doesn't have HP Sure Start enabled, so we can use all the flash regions, and relocate the EC firmware with CB:41393. Change-Id: I07f433784292e3765bde3736414ff0eae525a046 Signed-off-by: Iru Cai <mytbk920423@gmail.com>
Diffstat (limited to 'src/mainboard/hp/probook_640_g1/acpi_tables.c')
-rw-r--r--src/mainboard/hp/probook_640_g1/acpi_tables.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mainboard/hp/probook_640_g1/acpi_tables.c b/src/mainboard/hp/probook_640_g1/acpi_tables.c
new file mode 100644
index 0000000000..f9ac854b2e
--- /dev/null
+++ b/src/mainboard/hp/probook_640_g1/acpi_tables.c
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <acpi/acpi_gnvs.h>
+#include <southbridge/intel/lynxpoint/nvs.h>
+
+void acpi_create_gnvs(struct global_nvs *gnvs)
+{
+ /* The lid is open by default. */
+ gnvs->lids = 1;
+
+ /* Temperature at which OS will shutdown */
+ gnvs->tcrt = 100;
+ /* Temperature at which OS will throttle CPU */
+ gnvs->tpsv = 90;
+}