Angel Pons | 89ab250 | 2020-04-03 01:22:28 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Sven Schnelle | e2ca71e | 2011-02-14 20:02:47 +0000 | [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> |
Peter Lemenkov | a6f9ee3 | 2018-10-10 14:28:44 +0200 | [diff] [blame] | 5 | |
Kyösti Mälkki | a9766c7 | 2020-06-29 02:56:49 +0300 | [diff] [blame] | 6 | void mainboard_fill_gnvs(struct global_nvs *gnvs) |
Sven Schnelle | e2ca71e | 2011-02-14 20:02:47 +0000 | [diff] [blame] | 7 | { |
Peter Lemenkov | 0c52638 | 2020-02-06 20:31:07 +0100 | [diff] [blame] | 8 | /* Temperature at which OS will shutdown */ |
| 9 | gnvs->tcrt = 100; |
| 10 | /* Temperature at which OS will throttle CPU */ |
| 11 | gnvs->tpsv = 90; |
Sven Schnelle | e2ca71e | 2011-02-14 20:02:47 +0000 | [diff] [blame] | 12 | } |