| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <acpi/acpi_gnvs.h> |
| 4 | #include <soc/nvs.h> |
| 5 | #include "thermal.h" |
| 6 | |
| 7 | void mainboard_fill_gnvs(struct global_nvs *gnvs) |
| 8 | { |
| 9 | // the lid is open by default. |
| 10 | gnvs->lids = 1; |
| 11 | |
| 12 | /* EC handles all thermal and fan control on Butterfly. */ |
| 13 | gnvs->tcrt = CRITICAL_TEMPERATURE; |
| 14 | gnvs->tpsv = PASSIVE_TEMPERATURE; |
| 15 | } |