diff options
author | Marc Jones <marc.jones@se-eng.com> | 2015-06-09 14:42:55 -0600 |
---|---|---|
committer | Marc Jones <marc.jones@se-eng.com> | 2015-06-10 20:14:04 +0200 |
commit | 07cf24c2eefc7d6f39061bad3400a403d7879481 (patch) | |
tree | 98037054729590350a9f069660c5115aa6dfd549 /src/mainboard/google/auron/thermal.h | |
parent | 36aed7474c77894ea8a3eca59991c57108d56e86 (diff) |
google/auron: Add initial mainboard copy from Peppy
Copy the Peppy directory. No changes.
Change-Id: I3fa382eaa40f642df8bc09ab69be67cbe9f3671a
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
Reviewed-on: http://review.coreboot.org/10499
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google/auron/thermal.h')
-rw-r--r-- | src/mainboard/google/auron/thermal.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/mainboard/google/auron/thermal.h b/src/mainboard/google/auron/thermal.h new file mode 100644 index 0000000000..e9f46887e6 --- /dev/null +++ b/src/mainboard/google/auron/thermal.h @@ -0,0 +1,38 @@ +/* + * 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. + */ + +#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 |