
17 Feb
2015
17 Feb
'15
11:29 p.m.
When starting up, show the protocol version that has been negotiated with the EC.
Signed-off-by: Simon Glass sjg@chromium.org ---
drivers/misc/cros_ec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/misc/cros_ec.c b/drivers/misc/cros_ec.c index 5846e76..962d1dd 100644 --- a/drivers/misc/cros_ec.c +++ b/drivers/misc/cros_ec.c @@ -1109,7 +1109,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; }
--
2.2.0.rc0.207.ga3a616c