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 = \_SB.PCI0.LPCB.EC0.LUXH
|
||||||
Local0 = (Local0 << 8) | \_SB.PCI0.LPCB.EC0.LUXL
|
Local0 = (Local0 << 8) | \_SB.PCI0.LPCB.EC0.LUXL
|
||||||
Debug = "-----> _ALI: "
|
Printf ("-----> _ALI: %o, %o, %o",
|
||||||
Debug = Local0
|
Local0, \_SB.PCI0.LPCB.EC0.LUXH, \_SB.PCI0.LPCB.EC0.LUXL)
|
||||||
Debug = \_SB.PCI0.LPCB.EC0.LUXH
|
|
||||||
Debug = \_SB.PCI0.LPCB.EC0.LUXL
|
|
||||||
Return (Local0)
|
Return (Local0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,17 +53,14 @@ Scope (\_TZ)
|
||||||
|
|
||||||
If (Local0 >= 0x80)
|
If (Local0 >= 0x80)
|
||||||
{
|
{
|
||||||
Debug = "-----> CPU Temperature (INVALID): "
|
Printf ("-----> CPU Temperature (INVALID): %o", Local0)
|
||||||
Debug = Local0
|
|
||||||
Return (CTOK (0))
|
Return (CTOK (0))
|
||||||
}
|
}
|
||||||
|
|
||||||
Debug = "-----> CPU Temperature: "
|
Printf ("-----> CPU Temperature: %o", Local0)
|
||||||
Debug = Local0
|
|
||||||
|
|
||||||
Return (CTOK (Local0))
|
Return (CTOK (Local0))
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ThermalZone (TZ00)
|
ThermalZone (TZ00)
|
||||||
|
@ -86,13 +83,11 @@ Scope (\_TZ)
|
||||||
|
|
||||||
If (Local0 >= 0x80)
|
If (Local0 >= 0x80)
|
||||||
{
|
{
|
||||||
Debug = "-----> LOC Temperature (INVALID): "
|
Printf ("-----> LOC Temperature (INVALID): %o", Local0)
|
||||||
Debug = Local0
|
|
||||||
Return (CTOK (0))
|
Return (CTOK (0))
|
||||||
}
|
}
|
||||||
|
|
||||||
Debug = "-----> LOC Temperature: "
|
Printf ("-----> LOC Temperature: %o", Local0)
|
||||||
Debug = Local0
|
|
||||||
|
|
||||||
Return (CTOK (Local0))
|
Return (CTOK (Local0))
|
||||||
}
|
}
|
||||||
|
@ -118,13 +113,11 @@ Scope (\_TZ)
|
||||||
|
|
||||||
If (Local0 >= 0x80)
|
If (Local0 >= 0x80)
|
||||||
{
|
{
|
||||||
Debug = "-----> OEM Temperature (INVALID): "
|
Printf ("-----> OEM Temperature (INVALID): %o", Local0)
|
||||||
Debug = Local0
|
|
||||||
Return (CTOK (0))
|
Return (CTOK (0))
|
||||||
}
|
}
|
||||||
|
|
||||||
Debug = "-----> OEM Temperature: "
|
Printf ("-----> OEM Temperature: %o", Local0)
|
||||||
Debug = Local0
|
|
||||||
|
|
||||||
Return (CTOK (Local0))
|
Return (CTOK (Local0))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue