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:
Felix Singer 2022-12-10 23:51:16 +01:00
parent 8f53e20955
commit 89734cec05
2 changed files with 12 additions and 12 deletions

View File

@ -267,7 +267,7 @@ Device (EC0)
/* Graphical hotkey */
Method (_Q19, 0, NotSerialized)
{
Debug = "Graphical hotkey display switching not implemented in coreboot!"
Printf ("Graphical hotkey display switching not implemented in coreboot!")
}
/* Increase brightness */
@ -292,7 +292,7 @@ Device (EC0)
Local1 = AHKE
If ((Local1 > 0) && (Local1 < 0x80))
{
Debug = "Hotkeys - TODO: Airplane mode?"
Printf ("Hotkeys - TODO: Airplane mode?")
/* WMI -> "GCMS" method */
}
ElseIf ((Local1 > 0x80) && (Local1 < 0xA0))
@ -377,32 +377,32 @@ Device (EC0)
Method (_Q60, 0, NotSerialized)
{
Debug = "EC Query (0x60): WMI"
Printf ("EC Query (0x60): WMI")
}
Method (_Q61, 0, NotSerialized)
{
Debug = "EC Query (0x61): WMI"
Printf ("EC Query (0x61): WMI")
}
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)
{
Debug = "EC Query (0x63): Optimus GC6 or NVIDIA GPS"
Printf ("EC Query (0x63): Optimus GC6 or NVIDIA GPS")
}
Method (_Q67, 0, NotSerialized)
{
Debug = "EC Query (0x67): NVIDIA GPS"
Printf ("EC Query (0x67): NVIDIA GPS")
}
Method (_Q68, 0, NotSerialized)
{
Debug = "EC Query (0x68): NVIDIA GPS"
Printf ("EC Query (0x68): NVIDIA GPS")
}
Method (_Q6C, 0, NotSerialized)

View File

@ -28,13 +28,13 @@ DefinitionBlock(
/* Returns a non-zero integer if SMI function failed */
Method (TRPS, 3, Serialized)
{
Debug = Concatenate ("SMIF: ", ToHexString (Arg0))
Debug = Concatenate ("Param0: ", ToHexString (Arg1))
Debug = Concatenate ("Param1: ", ToHexString (Arg2))
Printf ("SMIF: %o", ToHexString (Arg0))
Printf ("Param0: %o", ToHexString (Arg1))
Printf ("Param1: %o", ToHexString (Arg2))
Local0 = Arg1
Local0 |= (Arg2 << 4)
Debug = Concatenate ("Local0: ", ToHexString (Local0))
Printf ("Local0: %o", ToHexString (Local0))
SMIF = Arg0
SSDP = Local0