mb/google/auron/acpi: Use Printf() for debug prints
Change-Id: Ib06452c7b89c328d124e98669178b5dd3fc235f8 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60422 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
parent
7f25f14e00
commit
3884a411dc
|
@ -92,8 +92,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)
|
||||||
|
@ -101,8 +100,7 @@ Scope (\_TZ)
|
||||||
// Re-read temperature from EC
|
// Re-read temperature from EC
|
||||||
Local0 = TCHK ()
|
Local0 = TCHK ()
|
||||||
|
|
||||||
Debug = "RE-READ TEMPERATURE"
|
Printf ("RE-READ TEMPERATURE: %o", Local0)
|
||||||
Debug = Local0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Return (Local0)
|
Return (Local0)
|
||||||
|
|
Loading…
Reference in New Issue