summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-28 17:16:12 +0100
committerFelix Singer <felixsinger@posteo.net>2021-12-29 18:31:24 +0000
commit34dde858d60f64e5c671e4c8ffd00d4885c77c15 (patch)
treefef93c0338a3c2bd807b9e7f7f3492636583f7dc /src
parentdf88199882cad1d926737ead294946af71265173 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl6
-rw-r--r--src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl6
-rw-r--r--src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl6
-rw-r--r--src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl6
4 files changed, 8 insertions, 16 deletions
diff --git a/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl
index 2a16352c41..d5c943a346 100644
--- a/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl
+++ b/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl
@@ -95,8 +95,7 @@ Scope (\_TZ)
Store (CTOK (\TMAX), Local1)
If (LGreaterEqual (Local0, Local1)) {
- Store ("CRITICAL TEMPERATURE", Debug)
- Store (Local0, Debug)
+ Printf ("CRITICAL TEMPERATURE: %o", Local0)
// Wait 1 second for SuperIO to re-poll
Sleep (1000)
@@ -104,8 +103,7 @@ Scope (\_TZ)
// Re-read temperature from SuperIO
Store (TCHK (), Local0)
- Store ("RE-READ TEMPERATURE", Debug)
- Store (Local0, Debug)
+ Printf ("RE-READ TEMPERATURE: %o", Local0)
}
Return (Local0)
diff --git a/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl
index 2a16352c41..d5c943a346 100644
--- a/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl
+++ b/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl
@@ -95,8 +95,7 @@ Scope (\_TZ)
Store (CTOK (\TMAX), Local1)
If (LGreaterEqual (Local0, Local1)) {
- Store ("CRITICAL TEMPERATURE", Debug)
- Store (Local0, Debug)
+ Printf ("CRITICAL TEMPERATURE: %o", Local0)
// Wait 1 second for SuperIO to re-poll
Sleep (1000)
@@ -104,8 +103,7 @@ Scope (\_TZ)
// Re-read temperature from SuperIO
Store (TCHK (), Local0)
- Store ("RE-READ TEMPERATURE", Debug)
- Store (Local0, Debug)
+ Printf ("RE-READ TEMPERATURE: %o", Local0)
}
Return (Local0)
diff --git a/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl
index 2a16352c41..d5c943a346 100644
--- a/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl
+++ b/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl
@@ -95,8 +95,7 @@ Scope (\_TZ)
Store (CTOK (\TMAX), Local1)
If (LGreaterEqual (Local0, Local1)) {
- Store ("CRITICAL TEMPERATURE", Debug)
- Store (Local0, Debug)
+ Printf ("CRITICAL TEMPERATURE: %o", Local0)
// Wait 1 second for SuperIO to re-poll
Sleep (1000)
@@ -104,8 +103,7 @@ Scope (\_TZ)
// Re-read temperature from SuperIO
Store (TCHK (), Local0)
- Store ("RE-READ TEMPERATURE", Debug)
- Store (Local0, Debug)
+ Printf ("RE-READ TEMPERATURE: %o", Local0)
}
Return (Local0)
diff --git a/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl
index e2f267547e..2b793201af 100644
--- a/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl
+++ b/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl
@@ -203,8 +203,7 @@ Scope (\_TZ)
Store (CTOK (\TMAX), Local1)
If (LGreaterEqual (Local0, Local1)) {
- Store ("CRITICAL TEMPERATURE", Debug)
- Store (Local0, Debug)
+ Printf ("CRITICAL TEMPERATURE: %o", Local0)
// Wait 1 second for SuperIO to re-poll
Sleep (1000)
@@ -212,8 +211,7 @@ Scope (\_TZ)
// Re-read temperature from SuperIO
Store (TCHK (), Local0)
- Store ("RE-READ TEMPERATURE", Debug)
- Store (Local0, Debug)
+ Printf ("RE-READ TEMPERATURE: %o", Local0)
}
Return (Local0)