mb/google/kahlee/acpi: Use Printf() for debug prints

Change-Id: Ib5ccba321f3cb737eb6287472314b06ebe6e2437
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60426
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
Felix Singer 2021-12-28 17:12:06 +01:00
parent e490e59c78
commit df88199882
1 changed files with 2 additions and 4 deletions

View File

@ -56,8 +56,7 @@ Scope (\_TZ)
Store (CTOK (\TCRT), Local1) Store (CTOK (\TCRT), 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 EC to re-poll */ /* Wait 1 second for EC to re-poll */
Sleep (1000) Sleep (1000)
@ -65,8 +64,7 @@ Scope (\_TZ)
/* Re-read temperature from EC */ /* Re-read temperature from EC */
Store (\_SB.PCI0.LPCB.EC0.TSRD (TMPS), Local0) Store (\_SB.PCI0.LPCB.EC0.TSRD (TMPS), Local0)
Store ("RE-READ TEMPERATURE", Debug) Printf ("RE-READ TEMPERATURE: %o", Local0)
Store (Local0, Debug)
} }
Return (Local0) Return (Local0)