diff options
author | Felix Singer <felixsinger@posteo.net> | 2021-12-26 15:33:54 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2021-12-29 13:35:48 +0000 |
commit | e0625f8c8bcaa7a65e3df2a70e140634ca318895 (patch) | |
tree | 888843fb088239468ad1b986b736653755e0373d /src/ec/hp/kbc1126 | |
parent | 3462a1b858453d4926ade9313a238c999193b6a1 (diff) |
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>
Diffstat (limited to 'src/ec/hp/kbc1126')
-rw-r--r-- | src/ec/hp/kbc1126/acpi/ac.asl | 2 | ||||
-rw-r--r-- | src/ec/hp/kbc1126/acpi/battery.asl | 10 | ||||
-rw-r--r-- | src/ec/hp/kbc1126/acpi/ec.asl | 10 | ||||
-rw-r--r-- | src/ec/hp/kbc1126/acpi/lid.asl | 2 |
4 files changed, 12 insertions, 12 deletions
diff --git a/src/ec/hp/kbc1126/acpi/ac.asl b/src/ec/hp/kbc1126/acpi/ac.asl index f9d346b816..f058cef9f2 100644 --- a/src/ec/hp/kbc1126/acpi/ac.asl +++ b/src/ec/hp/kbc1126/acpi/ac.asl @@ -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)) { diff --git a/src/ec/hp/kbc1126/acpi/battery.asl b/src/ec/hp/kbc1126/acpi/battery.asl index 6669726c7d..003e58ba11 100644 --- a/src/ec/hp/kbc1126/acpi/battery.asl +++ b/src/ec/hp/kbc1126/acpi/battery.asl @@ -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)) { diff --git a/src/ec/hp/kbc1126/acpi/ec.asl b/src/ec/hp/kbc1126/acpi/ec.asl index 81bdff969a..4c0056dcc6 100644 --- a/src/ec/hp/kbc1126/acpi/ec.asl +++ b/src/ec/hp/kbc1126/acpi/ec.asl @@ -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") } } diff --git a/src/ec/hp/kbc1126/acpi/lid.asl b/src/ec/hp/kbc1126/acpi/lid.asl index 24941684a8..1a5134ff9a 100644 --- a/src/ec/hp/kbc1126/acpi/lid.asl +++ b/src/ec/hp/kbc1126/acpi/lid.asl @@ -12,6 +12,6 @@ Device (LID) Method (_Q0A, 0, NotSerialized) { - Store ("EC: LID STATUS", Debug) + Printf ("EC: LID STATUS") Notify (LID, 0x80) } |