[coreboot-gerrit] Change in ...coreboot[master]: mainboard/lenovo/t530/thermal.h: adjust W530 junction temperatur

Marcello Sylvester Bauer (Code Review) gerrit at coreboot.org
Sat Nov 24 01:20:27 CET 2018


Marcello Sylvester Bauer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29822


Change subject: mainboard/lenovo/t530/thermal.h: adjust W530 junction temperatur
......................................................................

mainboard/lenovo/t530/thermal.h: adjust W530 junction temperatur

Change the critical temperature of W530 Thikpads to 105 degree.

TODO: CPU lookup to set critical temperature.
Only the following T530 CPU's need a junction temperatur of 100 degrees:
- i3-2370M
- i5-2520M

Change-Id: Ib13d4d7c3f710b7e353bbedefd30f2ee300a01f9
Signed-off-by: Marcello Sylvester Bauer <info at marcellobauer.com>
---
M src/mainboard/lenovo/t530/thermal.h
1 file changed, 10 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/22/29822/1

diff --git a/src/mainboard/lenovo/t530/thermal.h b/src/mainboard/lenovo/t530/thermal.h
index 0b24ea8..a48235a 100644
--- a/src/mainboard/lenovo/t530/thermal.h
+++ b/src/mainboard/lenovo/t530/thermal.h
@@ -17,8 +17,17 @@
 #ifndef T530_THERMAL_H
 #define T530_THERMAL_H
 
-	/* Temperature which OS will shutdown at */
+	/* Temperature which OS will shutdown at
+	 * TODO: CPU lookup to set critical temperature.
+	 * Only the following CPU's need a junction temperatur of 100 degrees:
+	 - i3-2370M
+	 - i5-2520M
+	 */
+	#if IS_ENABLED(CONFIG_BOARD_LENOVO_W530)
+	#define CRITICAL_TEMPERATURE	105
+	#else
 	#define CRITICAL_TEMPERATURE	100
+	#endif
 
 	/* Temperature which OS will throttle CPU */
 	#define PASSIVE_TEMPERATURE	90

-- 
To view, visit https://review.coreboot.org/c/coreboot/+/29822
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib13d4d7c3f710b7e353bbedefd30f2ee300a01f9
Gerrit-Change-Number: 29822
Gerrit-PatchSet: 1
Gerrit-Owner: Marcello Sylvester Bauer <info at marcellobauer.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181124/9eedc64a/attachment.html>


More information about the coreboot-gerrit mailing list