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