Angel Pons | a21dff6 | 2020-04-03 01:22:24 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 2 | |
Kyösti Mälkki | 0c1dd9c | 2020-06-17 23:37:49 +0300 | [diff] [blame] | 3 | #include <acpi/acpi_gnvs.h> |
Kyösti Mälkki | 661ad46 | 2020-12-29 06:26:21 +0200 | [diff] [blame] | 4 | #include <soc/nvs.h> |
Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 5 | #include "thermal.h" |
6 | |||||
Kyösti Mälkki | a9766c7 | 2020-06-29 02:56:49 +0300 | [diff] [blame] | 7 | void mainboard_fill_gnvs(struct global_nvs *gnvs) |
Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 8 | { |
Peter Lemenkov | 6c2c018 | 2019-10-21 21:42:17 +0200 | [diff] [blame] | 9 | gnvs->tcrt = CRITICAL_TEMPERATURE; |
10 | gnvs->tpsv = PASSIVE_TEMPERATURE; | ||||
Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 11 | } |