summaryrefslogtreecommitdiff
path: root/board/hoho
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2014-10-10 13:31:56 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-10-11 07:29:15 +0000
commit46102d3b4ed4958986b2272237a33513ee32fc92 (patch)
tree7b4efcf75b4b898c65e1c332abc232ce7986661d /board/hoho
parent63c41f239223cb343978635c7409ee341eeb08d8 (diff)
downloadchrome-ec-46102d3b4ed4958986b2272237a33513ee32fc92.tar.gz
usb: export firmware version
Remove the meaningless version string in iSerialNumber, which was incorrect since this string should be unique to a device if it exists. Export the firmware version string as the configuration string, so it's traceable to a given firmware build/sources. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=samus BUG=none TEST=make buildall from a workstation, do "sudo lsusb -v" and see the full version string exported as the configuration name. Change-Id: I557df2936421e2926ac0fc0003888370cec3e201 Reviewed-on: https://chromium-review.googlesource.com/222877 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/hoho')
-rw-r--r--board/hoho/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/hoho/board.c b/board/hoho/board.c
index 598768ee6d..c521d2c6f8 100644
--- a/board/hoho/board.c
+++ b/board/hoho/board.c
@@ -86,7 +86,7 @@ const void * const usb_strings[] = {
[USB_STR_DESC] = usb_string_desc,
[USB_STR_VENDOR] = USB_STRING_DESC("Google Inc."),
[USB_STR_PRODUCT] = USB_STRING_DESC("Hoho"),
- [USB_STR_VERSION] = USB_STRING_DESC("v0.001"),
+ [USB_STR_VERSION] = NULL /* filled at runtime */,
[USB_STR_BB_URL] = USB_STRING_DESC(USB_GOOGLE_TYPEC_URL),
};
BUILD_ASSERT(ARRAY_SIZE(usb_strings) == USB_STR_COUNT);