summaryrefslogtreecommitdiff
path: root/src/mainboard/roda/rk9/acpi/ec.asl
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-28 16:47:12 +0100
committerFelix Singer <felixsinger@posteo.net>2021-12-29 18:29:28 +0000
commitb385640e83b2c3e378cf14e9b51526c9043dd31b (patch)
tree3d25c69f0e7face9760fbe30658be9e45e86f149 /src/mainboard/roda/rk9/acpi/ec.asl
parent58e6789e5f2cdcc104ef4b14724a2cbf6d4e2af1 (diff)
downloadcoreboot-b385640e83b2c3e378cf14e9b51526c9043dd31b.tar.gz
mb/roda/rk9/acpi: Use Printf() for debug prints
Change-Id: Ic461c109b3c6d08cc3cda60f23e673157cd782f9 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60418 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/mainboard/roda/rk9/acpi/ec.asl')
-rw-r--r--src/mainboard/roda/rk9/acpi/ec.asl32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/mainboard/roda/rk9/acpi/ec.asl b/src/mainboard/roda/rk9/acpi/ec.asl
index fbe4173cb7..44bd5d1604 100644
--- a/src/mainboard/roda/rk9/acpi/ec.asl
+++ b/src/mainboard/roda/rk9/acpi/ec.asl
@@ -79,98 +79,98 @@ Device(EC0)
Method (_Q11, 0)
{
- Debug = "_Q11: Fn-F8 (Sleep Button) pressed"
+ Printf ("_Q11: Fn-F8 (Sleep Button) pressed")
Notify(SLPB, 0x80)
}
Method (_Q30, 0)
{
- Debug = "_Q30: AC In"
+ Printf ("_Q30: AC In")
Notify(ADP1, 0x80) // Tell the Power Adapter
PNOT() // and the CPU and Battery
}
Method (_Q31, 0)
{
- Debug = "_Q31: AC Out"
+ Printf ("_Q31: AC Out")
Notify(ADP1, 0x80) // Tell the Power Adapter
PNOT() // and the CPU and Battery
}
Method (_Q32, 0)
{
- Debug = "_Q32: Bat1 In"
+ Printf ("_Q32: Bat1 In")
Notify(BAT1, 0x81)
}
Method (_Q33, 0)
{
- Debug = "_Q33: Bat1 Out"
+ Printf ("_Q33: Bat1 Out")
Notify(BAT1, 0x81)
}
Method (_Q34, 0)
{
- Debug = "_Q34: Bat2 In"
+ Printf ("_Q34: Bat2 In")
Notify(BAT2, 0x81)
}
Method (_Q35, 0)
{
- Debug = "_Q35: Bat2 Out"
+ Printf ("_Q35: Bat2 Out")
Notify(BAT2, 0x81)
}
Method (_Q36, 0)
{
- Debug = "_Q36: Bat1 Low Power"
+ Printf ("_Q36: Bat1 Low Power")
Notify(BAT1, 0x80)
}
Method (_Q37, 0)
{
- Debug = "_Q37: Bat1 Full Charge"
+ Printf ("_Q37: Bat1 Full Charge")
Notify(BAT1, 0x80)
}
Method (_Q38, 0)
{
- Debug = "_Q38: Bat2 Low Power"
+ Printf ("_Q38: Bat2 Low Power")
Notify(BAT2, 0x80)
}
Method (_Q39, 0)
{
- Debug = "_Q39: Bat2 Full Charge"
+ Printf ("_Q39: Bat2 Full Charge")
Notify(BAT2, 0x80)
}
Method (_Q40, 0)
{
- Debug = "_Q40: LID Open/Close"
+ Printf ("_Q40: LID Open/Close")
Notify(LID0, 0x80)
}
Method (_Q41, 0)
{
- Debug = "_Q41: Floppy on Parallel Port: Call the Museum!"
+ Printf ("_Q41: Floppy on Parallel Port: Call the Museum!")
}
Method (_Q50, 0)
{
- Debug = "_Q50: Processor is hot"
+ Printf ("_Q50: Processor is hot")
Notify(\_TZ.THRM, 0x80)
}
Method (_Q51, 0)
{
- Debug = "_Q51: Processor is boiling"
+ Printf ("_Q51: Processor is boiling")
Notify(\_TZ.THRM, 0x80)
}
Method (_Q52, 0)
{
- Debug = "_Q52: Processor is burning"
+ Printf ("_Q52: Processor is burning")
Notify(\_TZ.THRM, 0x80)
}