summaryrefslogtreecommitdiff
path: root/src/ec/lenovo/pmh7/pmh7.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/lenovo/pmh7/pmh7.c')
-rw-r--r--src/ec/lenovo/pmh7/pmh7.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ec/lenovo/pmh7/pmh7.c b/src/ec/lenovo/pmh7/pmh7.c
index b2c3c08697..c9756795a0 100644
--- a/src/ec/lenovo/pmh7/pmh7.c
+++ b/src/ec/lenovo/pmh7/pmh7.c
@@ -121,6 +121,10 @@ static void enable_dev(struct device *dev)
if (get_option(&val, "trackpoint") != CB_SUCCESS)
val = 1;
pmh7_trackpoint_enable(val);
+
+ printk(BIOS_INFO, "PMH7: ID %02x Revision %02x\n",
+ pmh7_register_read(EC_LENOVO_PMH7_REG_ID),
+ pmh7_register_read(EC_LENOVO_PMH7_REG_REV));
}
struct chip_operations ec_lenovo_pmh7_ops = {