mb/google/jecht/acpi: Use Printf() for debug prints
Change-Id: Ie54637c451252fd38aab9207ab0b846cc50f4b12 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60427 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
@@ -95,8 +95,7 @@ Scope (\_TZ)
|
|||||||
Store (CTOK (\TMAX), Local1)
|
Store (CTOK (\TMAX), Local1)
|
||||||
|
|
||||||
If (LGreaterEqual (Local0, Local1)) {
|
If (LGreaterEqual (Local0, Local1)) {
|
||||||
Store ("CRITICAL TEMPERATURE", Debug)
|
Printf ("CRITICAL TEMPERATURE: %o", Local0)
|
||||||
Store (Local0, Debug)
|
|
||||||
|
|
||||||
// Wait 1 second for SuperIO to re-poll
|
// Wait 1 second for SuperIO to re-poll
|
||||||
Sleep (1000)
|
Sleep (1000)
|
||||||
@@ -104,8 +103,7 @@ Scope (\_TZ)
|
|||||||
// Re-read temperature from SuperIO
|
// Re-read temperature from SuperIO
|
||||||
Store (TCHK (), Local0)
|
Store (TCHK (), Local0)
|
||||||
|
|
||||||
Store ("RE-READ TEMPERATURE", Debug)
|
Printf ("RE-READ TEMPERATURE: %o", Local0)
|
||||||
Store (Local0, Debug)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Return (Local0)
|
Return (Local0)
|
||||||
|
@@ -95,8 +95,7 @@ Scope (\_TZ)
|
|||||||
Store (CTOK (\TMAX), Local1)
|
Store (CTOK (\TMAX), Local1)
|
||||||
|
|
||||||
If (LGreaterEqual (Local0, Local1)) {
|
If (LGreaterEqual (Local0, Local1)) {
|
||||||
Store ("CRITICAL TEMPERATURE", Debug)
|
Printf ("CRITICAL TEMPERATURE: %o", Local0)
|
||||||
Store (Local0, Debug)
|
|
||||||
|
|
||||||
// Wait 1 second for SuperIO to re-poll
|
// Wait 1 second for SuperIO to re-poll
|
||||||
Sleep (1000)
|
Sleep (1000)
|
||||||
@@ -104,8 +103,7 @@ Scope (\_TZ)
|
|||||||
// Re-read temperature from SuperIO
|
// Re-read temperature from SuperIO
|
||||||
Store (TCHK (), Local0)
|
Store (TCHK (), Local0)
|
||||||
|
|
||||||
Store ("RE-READ TEMPERATURE", Debug)
|
Printf ("RE-READ TEMPERATURE: %o", Local0)
|
||||||
Store (Local0, Debug)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Return (Local0)
|
Return (Local0)
|
||||||
|
@@ -95,8 +95,7 @@ Scope (\_TZ)
|
|||||||
Store (CTOK (\TMAX), Local1)
|
Store (CTOK (\TMAX), Local1)
|
||||||
|
|
||||||
If (LGreaterEqual (Local0, Local1)) {
|
If (LGreaterEqual (Local0, Local1)) {
|
||||||
Store ("CRITICAL TEMPERATURE", Debug)
|
Printf ("CRITICAL TEMPERATURE: %o", Local0)
|
||||||
Store (Local0, Debug)
|
|
||||||
|
|
||||||
// Wait 1 second for SuperIO to re-poll
|
// Wait 1 second for SuperIO to re-poll
|
||||||
Sleep (1000)
|
Sleep (1000)
|
||||||
@@ -104,8 +103,7 @@ Scope (\_TZ)
|
|||||||
// Re-read temperature from SuperIO
|
// Re-read temperature from SuperIO
|
||||||
Store (TCHK (), Local0)
|
Store (TCHK (), Local0)
|
||||||
|
|
||||||
Store ("RE-READ TEMPERATURE", Debug)
|
Printf ("RE-READ TEMPERATURE: %o", Local0)
|
||||||
Store (Local0, Debug)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Return (Local0)
|
Return (Local0)
|
||||||
|
@@ -203,8 +203,7 @@ Scope (\_TZ)
|
|||||||
Store (CTOK (\TMAX), Local1)
|
Store (CTOK (\TMAX), Local1)
|
||||||
|
|
||||||
If (LGreaterEqual (Local0, Local1)) {
|
If (LGreaterEqual (Local0, Local1)) {
|
||||||
Store ("CRITICAL TEMPERATURE", Debug)
|
Printf ("CRITICAL TEMPERATURE: %o", Local0)
|
||||||
Store (Local0, Debug)
|
|
||||||
|
|
||||||
// Wait 1 second for SuperIO to re-poll
|
// Wait 1 second for SuperIO to re-poll
|
||||||
Sleep (1000)
|
Sleep (1000)
|
||||||
@@ -212,8 +211,7 @@ Scope (\_TZ)
|
|||||||
// Re-read temperature from SuperIO
|
// Re-read temperature from SuperIO
|
||||||
Store (TCHK (), Local0)
|
Store (TCHK (), Local0)
|
||||||
|
|
||||||
Store ("RE-READ TEMPERATURE", Debug)
|
Printf ("RE-READ TEMPERATURE: %o", Local0)
|
||||||
Store (Local0, Debug)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Return (Local0)
|
Return (Local0)
|
||||||
|
Reference in New Issue
Block a user