2 * This file is part of the coreboot project.
4 * Copyright (C) 2011 Google Inc.
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.
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.
16 #ifndef LINK_THERMAL_H
17 #define LINK_THERMAL_H
19 /* Config TDP Sensor ID */
20 #define CTDP_SENSOR_ID 9 /* PECI */
22 /* Config TDP Nominal */
23 #define CTDP_NOMINAL_THRESHOLD_OFF 0
24 #define CTDP_NOMINAL_THRESHOLD_ON 0
27 #define CTDP_DOWN_THRESHOLD_OFF 80
28 #define CTDP_DOWN_THRESHOLD_ON 90
30 /* Temperature which OS will shutdown at */
31 #define CRITICAL_TEMPERATURE 104
33 /* Temperature which OS will throttle CPU */
34 #define PASSIVE_TEMPERATURE 100
36 /* Tj_max value for calculating PECI CPU temperature */
37 #define MAX_TEMPERATURE 105