32193e1f20
Change-Id: I3326b6e3c412b6360af37030cefd13d95b704e70 Signed-off-by: Dave Parker <dparker@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/180750 Reviewed-by: Aaron Durbin <adurbin@chromium.org> (cherry picked from commit 1978b0f91b2e91d2251721c7c6981d51a6930b61) Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com> Reviewed-on: http://review.coreboot.org/6615 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
38 lines
1.2 KiB
C
38 lines
1.2 KiB
C
/*
|
|
* This file is part of the coreboot project.
|
|
*
|
|
* Copyright (C) 2012 Google Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; version 2 of the License.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
#ifndef THERMAL_H
|
|
#define THERMAL_H
|
|
|
|
/* Control TDP Settings */
|
|
#define CTL_TDP_SENSOR_ID 0 /* PECI */
|
|
#define CTL_TDP_POWER_LIMIT 12 /* 12W */
|
|
#define CTL_TDP_THRESHOLD_OFF 80 /* Normal at 80C */
|
|
#define CTL_TDP_THRESHOLD_ON 85 /* Limited at 85C */
|
|
|
|
/* Temperature which OS will shutdown at */
|
|
#define CRITICAL_TEMPERATURE 99
|
|
|
|
/* Temperature which OS will throttle CPU */
|
|
#define PASSIVE_TEMPERATURE 95
|
|
|
|
/* Tj_max value for calculating PECI CPU temperature */
|
|
#define MAX_TEMPERATURE 100
|
|
|
|
#endif
|