[coreboot-gerrit] Change in coreboot[master]: ec/lenovo/pmh7: Dump revision and ID
Patrick Rudolph (Code Review)
gerrit at coreboot.org
Fri Jul 28 17:40:06 CEST 2017
Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/20807
Change subject: ec/lenovo/pmh7: Dump revision and ID
......................................................................
ec/lenovo/pmh7: Dump revision and ID
Dump PMH7 revision and ID for diagnostic purposes.
Change-Id: I60d15a8f740aeb974a79b27507e974a730cec174
Signed-off-by: Patrick Rudolph <siro at das-labor.org>
---
M src/ec/lenovo/pmh7/pmh7.c
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/07/20807/1
diff --git a/src/ec/lenovo/pmh7/pmh7.c b/src/ec/lenovo/pmh7/pmh7.c
index b2c3c08..6234d63 100644
--- a/src/ec/lenovo/pmh7/pmh7.c
+++ b/src/ec/lenovo/pmh7/pmh7.c
@@ -121,6 +121,9 @@
if (get_option(&val, "trackpoint") != CB_SUCCESS)
val = 1;
pmh7_trackpoint_enable(val);
+
+ printk(BIOS_DEBUG, "PMH7: ID %02x Revision %02x\n",
+ pmh7_register_read(0xc2), pmh7_register_read(0xc3));
}
struct chip_operations ec_lenovo_pmh7_ops = {
--
To view, visit https://review.coreboot.org/20807
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I60d15a8f740aeb974a79b27507e974a730cec174
Gerrit-Change-Number: 20807
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <siro at das-labor.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170728/7389974e/attachment.html>
More information about the coreboot-gerrit
mailing list