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>
This commit is contained in:
parent
1cb26a6300
commit
32c63e050c
|
@ -20,6 +20,9 @@
|
||||||
|
|
||||||
void acpi_create_gnvs(global_nvs_t *gnvs)
|
void acpi_create_gnvs(global_nvs_t *gnvs)
|
||||||
{
|
{
|
||||||
|
/* the lid is open by default. */
|
||||||
|
gnvs->lids = 1;
|
||||||
|
|
||||||
gnvs->tcrt = CRITICAL_TEMPERATURE;
|
gnvs->tcrt = CRITICAL_TEMPERATURE;
|
||||||
gnvs->tpsv = PASSIVE_TEMPERATURE;
|
gnvs->tpsv = PASSIVE_TEMPERATURE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue