mb/acer/aspire_vn7_572g/acpi: Use Printf() for debug prints
Change-Id: Ie26b623a3848b929b83aad5931b1ecd90b342d2c Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70531 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Benjamin Doron <benjamin.doron00@gmail.com>
This commit is contained in:
@@ -267,7 +267,7 @@ Device (EC0)
|
|||||||
/* Graphical hotkey */
|
/* Graphical hotkey */
|
||||||
Method (_Q19, 0, NotSerialized)
|
Method (_Q19, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Debug = "Graphical hotkey display switching not implemented in coreboot!"
|
Printf ("Graphical hotkey display switching not implemented in coreboot!")
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Increase brightness */
|
/* Increase brightness */
|
||||||
@@ -292,7 +292,7 @@ Device (EC0)
|
|||||||
Local1 = AHKE
|
Local1 = AHKE
|
||||||
If ((Local1 > 0) && (Local1 < 0x80))
|
If ((Local1 > 0) && (Local1 < 0x80))
|
||||||
{
|
{
|
||||||
Debug = "Hotkeys - TODO: Airplane mode?"
|
Printf ("Hotkeys - TODO: Airplane mode?")
|
||||||
/* WMI -> "GCMS" method */
|
/* WMI -> "GCMS" method */
|
||||||
}
|
}
|
||||||
ElseIf ((Local1 > 0x80) && (Local1 < 0xA0))
|
ElseIf ((Local1 > 0x80) && (Local1 < 0xA0))
|
||||||
@@ -377,32 +377,32 @@ Device (EC0)
|
|||||||
|
|
||||||
Method (_Q60, 0, NotSerialized)
|
Method (_Q60, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Debug = "EC Query (0x60): WMI"
|
Printf ("EC Query (0x60): WMI")
|
||||||
}
|
}
|
||||||
|
|
||||||
Method (_Q61, 0, NotSerialized)
|
Method (_Q61, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Debug = "EC Query (0x61): WMI"
|
Printf ("EC Query (0x61): WMI")
|
||||||
}
|
}
|
||||||
|
|
||||||
Method (_Q62, 0, NotSerialized)
|
Method (_Q62, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Debug = "EC Query (0x62): Optimus GC6 or NVIDIA GPS"
|
Printf ("EC Query (0x62): Optimus GC6 or NVIDIA GPS")
|
||||||
}
|
}
|
||||||
|
|
||||||
Method (_Q63, 0, NotSerialized)
|
Method (_Q63, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Debug = "EC Query (0x63): Optimus GC6 or NVIDIA GPS"
|
Printf ("EC Query (0x63): Optimus GC6 or NVIDIA GPS")
|
||||||
}
|
}
|
||||||
|
|
||||||
Method (_Q67, 0, NotSerialized)
|
Method (_Q67, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Debug = "EC Query (0x67): NVIDIA GPS"
|
Printf ("EC Query (0x67): NVIDIA GPS")
|
||||||
}
|
}
|
||||||
|
|
||||||
Method (_Q68, 0, NotSerialized)
|
Method (_Q68, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Debug = "EC Query (0x68): NVIDIA GPS"
|
Printf ("EC Query (0x68): NVIDIA GPS")
|
||||||
}
|
}
|
||||||
|
|
||||||
Method (_Q6C, 0, NotSerialized)
|
Method (_Q6C, 0, NotSerialized)
|
||||||
|
@@ -28,13 +28,13 @@ DefinitionBlock(
|
|||||||
/* Returns a non-zero integer if SMI function failed */
|
/* Returns a non-zero integer if SMI function failed */
|
||||||
Method (TRPS, 3, Serialized)
|
Method (TRPS, 3, Serialized)
|
||||||
{
|
{
|
||||||
Debug = Concatenate ("SMIF: ", ToHexString (Arg0))
|
Printf ("SMIF: %o", ToHexString (Arg0))
|
||||||
Debug = Concatenate ("Param0: ", ToHexString (Arg1))
|
Printf ("Param0: %o", ToHexString (Arg1))
|
||||||
Debug = Concatenate ("Param1: ", ToHexString (Arg2))
|
Printf ("Param1: %o", ToHexString (Arg2))
|
||||||
|
|
||||||
Local0 = Arg1
|
Local0 = Arg1
|
||||||
Local0 |= (Arg2 << 4)
|
Local0 |= (Arg2 << 4)
|
||||||
Debug = Concatenate ("Local0: ", ToHexString (Local0))
|
Printf ("Local0: %o", ToHexString (Local0))
|
||||||
|
|
||||||
SMIF = Arg0
|
SMIF = Arg0
|
||||||
SSDP = Local0
|
SSDP = Local0
|
||||||
|
Reference in New Issue
Block a user