summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-28 17:05:41 +0100
committerFelix Singer <felixsinger@posteo.net>2021-12-29 18:30:44 +0000
commitc92c87b2fdc770e5c4027579ea7eca61d47f2fe8 (patch)
treed8a6f3e451b8dc3d484e0d4c6bfa4d7bafd494ac
parent3884a411dc20548474872fa191090f6d5a9f8630 (diff)
mb/google/zork/acpi: Use Printf() for debug prints
Change-Id: I433b7138da84b57e45e816ab116f8ca874fdc0e0 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60424 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
-rw-r--r--src/mainboard/google/zork/variants/baseboard/include/baseboard/acpi/thermal.asl6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mainboard/google/zork/variants/baseboard/include/baseboard/acpi/thermal.asl b/src/mainboard/google/zork/variants/baseboard/include/baseboard/acpi/thermal.asl
index dec33ec5dd..5667248015 100644
--- a/src/mainboard/google/zork/variants/baseboard/include/baseboard/acpi/thermal.asl
+++ b/src/mainboard/google/zork/variants/baseboard/include/baseboard/acpi/thermal.asl
@@ -56,8 +56,7 @@ Scope (\_TZ)
Local1 = CTOK (\TCRT)
If (Local0 >= Local1) {
- Debug = "CRITICAL TEMPERATURE"
- Debug = Local0
+ Printf ("CRITICAL TEMPERATURE: %o", Local0)
/* Wait 1 second for EC to re-poll */
Sleep (1000)
@@ -65,8 +64,7 @@ Scope (\_TZ)
/* Re-read temperature from EC */
Local0 = \_SB.PCI0.LPCB.EC0.TSRD (TMPS)
- Debug = "RE-READ TEMPERATURE"
- Debug = Local0
+ Printf ("RE-READ TEMPERATURE: %o", Local0)
}
Return (Local0)