blob: 0908c4c750d14617602ef53b25c23040349c8110 [file] [log] [blame]
Duncan Laurieddc3e422013-10-02 16:10:54 -07001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2013 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.
Duncan Laurieddc3e422013-10-02 16:10:54 -070014 */
15
16#ifndef THERMAL_H
17#define THERMAL_H
18
Duncan Laurie1eca1d42013-10-12 11:50:05 +080019#define TEMPERATURE_SENSOR_ID 0 /* PECI */
Duncan Laurieddc3e422013-10-02 16:10:54 -070020
Duncan Laurieddc3e422013-10-02 16:10:54 -070021/* Temperature which OS will shutdown at */
Duncan Laurie69d7aec2014-11-03 08:53:21 -080022#define CRITICAL_TEMPERATURE 104
Duncan Laurieddc3e422013-10-02 16:10:54 -070023
24/* Temperature which OS will throttle CPU */
Duncan Laurie1eca1d42013-10-12 11:50:05 +080025#define PASSIVE_TEMPERATURE 95
Duncan Laurieddc3e422013-10-02 16:10:54 -070026
27/* Tj_max value for calculating PECI CPU temperature */
Duncan Laurie69d7aec2014-11-03 08:53:21 -080028#define MAX_TEMPERATURE 105
Duncan Laurieddc3e422013-10-02 16:10:54 -070029
30#endif