summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-10 23:51:16 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-12 21:42:27 +0000
commit89734cec05377e2c568111b6a92bd144d818215d (patch)
treeddfe1c3de3f936ecee228414ff51e7fdf03e4b94
parent8f53e20955c7245861d3ad1a5ab29bc2d62c358d (diff)
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>
-rw-r--r--src/mainboard/acer/aspire_vn7_572g/acpi/ec.asl16
-rw-r--r--src/mainboard/acer/aspire_vn7_572g/dsdt.asl8
2 files changed, 12 insertions, 12 deletions
diff --git a/src/mainboard/acer/aspire_vn7_572g/acpi/ec.asl b/src/mainboard/acer/aspire_vn7_572g/acpi/ec.asl
index 3a22d389b3..37595e14e4 100644
--- a/src/mainboard/acer/aspire_vn7_572g/acpi/ec.asl
+++ b/src/mainboard/acer/aspire_vn7_572g/acpi/ec.asl
@@ -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)
diff --git a/src/mainboard/acer/aspire_vn7_572g/dsdt.asl b/src/mainboard/acer/aspire_vn7_572g/dsdt.asl
index 2944688fe1..304139b116 100644
--- a/src/mainboard/acer/aspire_vn7_572g/dsdt.asl
+++ b/src/mainboard/acer/aspire_vn7_572g/dsdt.asl
@@ -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