From d056d8780619d4ad65956a78cbea441308d1a77a Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sun, 11 Dec 2022 21:39:10 +0100 Subject: ec/purism/librem-ec/acpi: Use Printf() for debug prints Change-Id: Ie29511ad0b8e24feb478152009d7f4e8ed3ad26d Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/70591 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai Reviewed-by: Jonathon Hall --- src/ec/purism/librem-ec/acpi/lid.asl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ec/purism/librem-ec') diff --git a/src/ec/purism/librem-ec/acpi/lid.asl b/src/ec/purism/librem-ec/acpi/lid.asl index 45e646acbb..723dd6dd98 100644 --- a/src/ec/purism/librem-ec/acpi/lid.asl +++ b/src/ec/purism/librem-ec/acpi/lid.asl @@ -6,7 +6,7 @@ Device (LID0) Name (_PRW, Package () { EC_GPE_SWI, 3 }) Method (_LID, 0, NotSerialized) { - DEBUG = "LID: _LID" + Printf ("LID: _LID") If (^^PCI0.LPCB.EC0.ECOK) { Return (^^PCI0.LPCB.EC0.LSTE) } Else { @@ -15,7 +15,7 @@ Device (LID0) } Method (_PSW, 1, NotSerialized) { - DEBUG = Concatenate("LID: _PSW: ", ToHexString(Arg0)) + Printf ("LID: _PSW: %o", ToHexString(Arg0)) If (^^PCI0.LPCB.EC0.ECOK) { ^^PCI0.LPCB.EC0.LWKE = Arg0 } -- cgit v1.2.3