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@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 = {