From ed52488b59dcde0102930b27b2855cfc7e5d816e Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Tue, 24 Aug 2021 15:16:44 +0200 Subject: mb/roda/rv11/acpi: Use Printf () Change-Id: Iec6ec8bbf3cc5c9230ba6bcb0126ff6085f26464 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/57121 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/mainboard/roda/rv11/acpi/alsd.asl | 6 ++---- src/mainboard/roda/rv11/acpi/thermal.asl | 19 ++++++------------- 2 files changed, 8 insertions(+), 17 deletions(-) (limited to 'src') diff --git a/src/mainboard/roda/rv11/acpi/alsd.asl b/src/mainboard/roda/rv11/acpi/alsd.asl index b3028e3217..30c03a8c49 100644 --- a/src/mainboard/roda/rv11/acpi/alsd.asl +++ b/src/mainboard/roda/rv11/acpi/alsd.asl @@ -12,10 +12,8 @@ Device (ALSD) { Local0 = \_SB.PCI0.LPCB.EC0.LUXH Local0 = (Local0 << 8) | \_SB.PCI0.LPCB.EC0.LUXL - Debug = "-----> _ALI: " - Debug = Local0 - Debug = \_SB.PCI0.LPCB.EC0.LUXH - Debug = \_SB.PCI0.LPCB.EC0.LUXL + Printf ("-----> _ALI: %o, %o, %o", + Local0, \_SB.PCI0.LPCB.EC0.LUXH, \_SB.PCI0.LPCB.EC0.LUXL) Return (Local0) } diff --git a/src/mainboard/roda/rv11/acpi/thermal.asl b/src/mainboard/roda/rv11/acpi/thermal.asl index 1d18781bb4..5f51253583 100644 --- a/src/mainboard/roda/rv11/acpi/thermal.asl +++ b/src/mainboard/roda/rv11/acpi/thermal.asl @@ -53,17 +53,14 @@ Scope (\_TZ) If (Local0 >= 0x80) { - Debug = "-----> CPU Temperature (INVALID): " - Debug = Local0 + Printf ("-----> CPU Temperature (INVALID): %o", Local0) Return (CTOK (0)) } - Debug = "-----> CPU Temperature: " - Debug = Local0 + Printf ("-----> CPU Temperature: %o", Local0) Return (CTOK (Local0)) } - } ThermalZone (TZ00) @@ -86,13 +83,11 @@ Scope (\_TZ) If (Local0 >= 0x80) { - Debug = "-----> LOC Temperature (INVALID): " - Debug = Local0 + Printf ("-----> LOC Temperature (INVALID): %o", Local0) Return (CTOK (0)) } - Debug = "-----> LOC Temperature: " - Debug = Local0 + Printf ("-----> LOC Temperature: %o", Local0) Return (CTOK (Local0)) } @@ -118,13 +113,11 @@ Scope (\_TZ) If (Local0 >= 0x80) { - Debug = "-----> OEM Temperature (INVALID): " - Debug = Local0 + Printf ("-----> OEM Temperature (INVALID): %o", Local0) Return (CTOK (0)) } - Debug = "-----> OEM Temperature: " - Debug = Local0 + Printf ("-----> OEM Temperature: %o", Local0) Return (CTOK (Local0)) } -- cgit v1.2.3