summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo
diff options
context:
space:
mode:
authorPeter Lemenkov <lemenkov@gmail.com>2019-12-29 14:44:02 +0300
committerPatrick Georgi <pgeorgi@google.com>2020-02-11 07:46:14 +0000
commit32c63e050cc06e79691a7ea27f969f75fa22ed14 (patch)
tree90c9f5d439e953127807226140a82d3f792fa095 /src/mainboard/lenovo
parent1cb26a6300aeac438322a0288cecfb44e977d6ae (diff)
downloadcoreboot-32c63e050cc06e79691a7ea27f969f75fa22ed14.tar.xz
mb/lenovo/x201/acpi_tables: Default to lid open
It's really hard to power up this laptop with the lid closed so let's make it open by default, as done on many other laptops. Change-Id: I5bb2f716865c2bb569a4735f135842526043713c Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37985 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r--src/mainboard/lenovo/x201/acpi_tables.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x201/acpi_tables.c b/src/mainboard/lenovo/x201/acpi_tables.c
index 6a29ba0f64..5065648e60 100644
--- a/src/mainboard/lenovo/x201/acpi_tables.c
+++ b/src/mainboard/lenovo/x201/acpi_tables.c
@@ -20,6 +20,9 @@
void acpi_create_gnvs(global_nvs_t *gnvs)
{
+ /* the lid is open by default. */
+ gnvs->lids = 1;
+
gnvs->tcrt = CRITICAL_TEMPERATURE;
gnvs->tpsv = PASSIVE_TEMPERATURE;
}