From 89734cec05377e2c568111b6a92bd144d818215d Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sat, 10 Dec 2022 23:51:16 +0100 Subject: mb/acer/aspire_vn7_572g/acpi: Use Printf() for debug prints Change-Id: Ie26b623a3848b929b83aad5931b1ecd90b342d2c Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/70531 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai Reviewed-by: Benjamin Doron --- src/mainboard/acer/aspire_vn7_572g/acpi/ec.asl | 16 ++++++++-------- src/mainboard/acer/aspire_vn7_572g/dsdt.asl | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src/mainboard') 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 -- cgit v1.2.3