projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60e2809
)
cros_ec: Show the protocol version in the debug message
author
Simon Glass
<sjg@chromium.org>
Tue, 17 Feb 2015 22:29:36 +0000
(15:29 -0700)
committer
Simon Glass
<sjg@chromium.org>
Wed, 6 May 2015 02:58:18 +0000
(20:58 -0600)
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
patch
|
blob
|
history
diff --git
a/drivers/misc/cros_ec.c
b/drivers/misc/cros_ec.c
index 982bac788d52b1b52948a525018a585bcb225d8c..4b6ac6a6c01f75d97db362c0a169654c7377dd35 100644
(file)
--- 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;
}