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)
|
||||
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue