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:
parent
e490e59c78
commit
df88199882
|
@ -56,8 +56,7 @@ Scope (\_TZ)
|
|||
Store (CTOK (\TCRT), Local1)
|
||||
|
||||
If (LGreaterEqual (Local0, Local1)) {
|
||||
Store ("CRITICAL TEMPERATURE", Debug)
|
||||
Store (Local0, Debug)
|
||||
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 */
|
||||
Store (\_SB.PCI0.LPCB.EC0.TSRD (TMPS), Local0)
|
||||
|
||||
Store ("RE-READ TEMPERATURE", Debug)
|
||||
Store (Local0, Debug)
|
||||
Printf ("RE-READ TEMPERATURE: %o", Local0)
|
||||
}
|
||||
|
||||
Return (Local0)
|
||||
|
|
Loading…
Reference in New Issue