From 4878940de32bbdf4cb121a64dbe1baa15d10b0b8 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Tue, 28 Dec 2021 16:54:33 +0100 Subject: mb/lenovo/g505s/acpi: Use Printf() for debug prints Change-Id: Ibc775cda61134523dc03a073676b9d035ea48472 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60420 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes --- src/mainboard/lenovo/g505s/acpi/gpe.asl | 6 +++--- src/mainboard/lenovo/g505s/acpi/mainboard.asl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/mainboard/lenovo/g505s/acpi/gpe.asl b/src/mainboard/lenovo/g505s/acpi/gpe.asl index f137606974..74b4c4807b 100644 --- a/src/mainboard/lenovo/g505s/acpi/gpe.asl +++ b/src/mainboard/lenovo/g505s/acpi/gpe.asl @@ -15,7 +15,7 @@ Scope(\_GPE) { /* Start Scope GPE */ /* USB controller PME# */ Method(_L0B) { - Debug = "USB PME" + Printf ("USB PME") /* Notify devices of wake event */ Notify(\_SB.PCI0.UOH1, 0x02) Notify(\_SB.PCI0.UOH2, 0x02) @@ -37,7 +37,7 @@ Scope(\_GPE) { /* Start Scope GPE */ /* Lid switch opened or closed */ Method(_L16) { - Debug = "Lid status changed" + Printf ("Lid status changed") /* Flip trigger polarity */ LPOL = ~LPOL /* Notify lid object of status change */ @@ -46,7 +46,7 @@ Scope(\_GPE) { /* Start Scope GPE */ /* GPIO0 or GEvent8 event */ Method(_L18) { - Debug = "PCI bridge wake event" + Printf ("PCI bridge wake event") /* Notify PCI bridges of wake event */ Notify(\_SB.PCI0.PBR4, 0x02) Notify(\_SB.PCI0.PBR5, 0x02) diff --git a/src/mainboard/lenovo/g505s/acpi/mainboard.asl b/src/mainboard/lenovo/g505s/acpi/mainboard.asl index b11ad68e10..467a4f56de 100644 --- a/src/mainboard/lenovo/g505s/acpi/mainboard.asl +++ b/src/mainboard/lenovo/g505s/acpi/mainboard.asl @@ -37,7 +37,7 @@ */ Method (PNOT) { - Debug = "Received PNOT call (probably from EC)" + Printf ("Received PNOT call (probably from EC)") /* TODO: Implement this */ } -- cgit v1.2.3