diff options
author | Simon Glass <sjg@chromium.org> | 2015-02-17 15:29:36 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-05-05 20:58:18 -0600 |
commit | c4b206dff14eba50d4d6d06dca71205d08629662 (patch) | |
tree | eba2d6e43ef195e9ccece28a14206206b75c571f | |
parent | 60e2809a848bccd3a8090d3f2237964670f2780c (diff) | |
download | u-boot-imx-c4b206dff14eba50d4d6d06dca71205d08629662.zip u-boot-imx-c4b206dff14eba50d4d6d06dca71205d08629662.tar.gz u-boot-imx-c4b206dff14eba50d4d6d06dca71205d08629662.tar.bz2 |
cros_ec: Show the protocol version in the debug message
When starting up, show the protocol version that has been negotiated with
the EC.
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | drivers/misc/cros_ec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/misc/cros_ec.c b/drivers/misc/cros_ec.c index 982bac7..4b6ac6a 100644 --- a/drivers/misc/cros_ec.c +++ b/drivers/misc/cros_ec.c @@ -986,7 +986,8 @@ int cros_ec_register(struct udevice *dev) } /* Remember this device for use by the cros_ec command */ - debug("Google Chrome EC CROS-EC driver ready, id '%s'\n", id); + debug("Google Chrome EC v%d CROS-EC driver ready, id '%s'\n", + cdev->protocol_version, id); return 0; } |