ec/hp/kbc1126/acpi: Use Printf() for debug prints

Built with BUILD_TIMELESS=1 and coreboot.rom remains identical.

Change-Id: Id343bde61706d4d1de2102c3567141e427d8126d
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60383
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Felix Singer 2021-12-26 15:33:54 +01:00
parent 3462a1b858
commit e0625f8c8b
4 changed files with 12 additions and 12 deletions

View File

@ -65,7 +65,7 @@ Device (AC)
Method (_Q06, 0, NotSerialized)
{
Store ("EC: AC STATUS", Debug)
Printf ("EC: AC STATUS")
PWUP (0x05, (0x02 | 0x01))
If (BTDR (0x02))
{

View File

@ -437,7 +437,7 @@ Method (SBTN, 2, Serialized)
Method (_Q03, 0, NotSerialized)
{
Store ("EC: _Q03", Debug)
Printf ("EC: _Q03")
Acquire (BTMX, 0xFFFF)
Local0 = NDCB
Release (BTMX)
@ -447,7 +447,7 @@ Method (_Q03, 0, NotSerialized)
Method (_Q08, 0, NotSerialized)
{
Store ("EC: PRIMARY BATTERY ATTACHED/DETACHED", Debug)
Printf ("EC: PRIMARY BATTERY ATTACHED/DETACHED")
PWUP (0x06, 0x01)
Local0 = GBAP ()
If ((Local0 != 0x02))
@ -467,7 +467,7 @@ Method (_Q08, 0, NotSerialized)
Method (_Q09, 0, NotSerialized)
{
Store ("EC: PRIMARY BATTERY STATUS", Debug)
Printf ("EC: PRIMARY BATTERY STATUS")
PWUP (0x04, 0x01)
If (BTDR (0x02))
{
@ -477,7 +477,7 @@ Method (_Q09, 0, NotSerialized)
Method (_Q18, 0, NotSerialized)
{
Store("EC: SECONDARY BATTERY ATTACHED/DETACHED", Debug)
Printf ("EC: SECONDARY BATTERY ATTACHED/DETACHED")
PWUP (0x06, 0x02)
Local0 = GBAP ()
If ((Local0 != 0x01))
@ -497,7 +497,7 @@ Method (_Q18, 0, NotSerialized)
Method (_Q19, 0, NotSerialized)
{
Store ("EC: SECONDARY BATTERY STATUS", Debug)
Printf ("EC: SECONDARY BATTERY STATUS")
PWUP (0x04, 0x02)
If (BTDR (0x02))
{

View File

@ -202,27 +202,27 @@ Device (EC0)
Method (_Q04, 0, NotSerialized)
{
Store ("EC: _Q04", Debug)
Printf ("EC: _Q04")
PNOT()
}
Method (_Q05, 0, NotSerialized)
{
Store ("EC: _Q05", Debug)
Printf ("EC: _Q05")
}
Method (_Q0B, 0, NotSerialized)
{
Store ("EC: _Q0B", Debug)
Printf ("EC: _Q0B")
}
Method (_Q0C, 0, NotSerialized)
{
Store ("EC: _Q0C", Debug)
Printf ("EC: _Q0C")
}
Method (_Q0D, 0, NotSerialized)
{
Store ("EC: _Q0D", Debug)
Printf ("EC: _Q0D")
}
}

View File

@ -12,6 +12,6 @@ Device (LID)
Method (_Q0A, 0, NotSerialized)
{
Store ("EC: LID STATUS", Debug)
Printf ("EC: LID STATUS")
Notify (LID, 0x80)
}