Felix Singer has submitted this change. ( https://review.coreboot.org/c/coreboot/+/60424 )
Change subject: mb/google/zork/acpi: Use Printf() for debug prints ......................................................................
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 --- M src/mainboard/google/zork/variants/baseboard/include/baseboard/acpi/thermal.asl 1 file changed, 2 insertions(+), 4 deletions(-)
Approvals: build bot (Jenkins): Verified HAOUAS Elyes: Looks good to me, approved
diff --git a/src/mainboard/google/zork/variants/baseboard/include/baseboard/acpi/thermal.asl b/src/mainboard/google/zork/variants/baseboard/include/baseboard/acpi/thermal.asl index dec33ec..5667248 100644 --- a/src/mainboard/google/zork/variants/baseboard/include/baseboard/acpi/thermal.asl +++ b/src/mainboard/google/zork/variants/baseboard/include/baseboard/acpi/thermal.asl @@ -56,8 +56,7 @@ 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 @@ /* 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)