summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Singer <felix.singer@secunet.com>2021-08-24 15:16:44 +0200
committerNico Huber <nico.h@gmx.de>2021-08-25 20:52:46 +0000
commited52488b59dcde0102930b27b2855cfc7e5d816e (patch)
tree3aa7f2b4255eac97499943e68d3984e481728b45 /src
parent5d805f64f95dd07b5b78abde84d567ac9bd6a1d6 (diff)
mb/roda/rv11/acpi: Use Printf ()
Change-Id: Iec6ec8bbf3cc5c9230ba6bcb0126ff6085f26464 Signed-off-by: Felix Singer <felix.singer@secunet.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57121 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/roda/rv11/acpi/alsd.asl6
-rw-r--r--src/mainboard/roda/rv11/acpi/thermal.asl19
2 files changed, 8 insertions, 17 deletions
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))
}