Stefan Reinauer | 49428d8 | 2013-02-21 15:48:37 -0800 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2011 Google Inc. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; version 2 of the License. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
Stefan Reinauer | 49428d8 | 2013-02-21 15:48:37 -0800 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #ifndef LINK_THERMAL_H |
| 17 | #define LINK_THERMAL_H |
| 18 | |
| 19 | /* Config TDP Sensor ID */ |
| 20 | #define CTDP_SENSOR_ID 9 /* PECI */ |
| 21 | |
| 22 | /* Config TDP Nominal */ |
| 23 | #define CTDP_NOMINAL_THRESHOLD_OFF 0 |
| 24 | #define CTDP_NOMINAL_THRESHOLD_ON 0 |
| 25 | |
| 26 | /* Config TDP Down */ |
| 27 | #define CTDP_DOWN_THRESHOLD_OFF 80 |
| 28 | #define CTDP_DOWN_THRESHOLD_ON 90 |
| 29 | |
| 30 | /* Temperature which OS will shutdown at */ |
| 31 | #define CRITICAL_TEMPERATURE 104 |
| 32 | |
| 33 | /* Temperature which OS will throttle CPU */ |
| 34 | #define PASSIVE_TEMPERATURE 100 |
| 35 | |
| 36 | /* Tj_max value for calculating PECI CPU temperature */ |
| 37 | #define MAX_TEMPERATURE 105 |
| 38 | |
| 39 | #endif |