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>
This commit is contained in:
parent
5d805f64f9
commit
ed52488b59
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue