summaryrefslogtreecommitdiff
path: root/include/ec_commands.h
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2018-11-07 10:47:46 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-11-27 19:14:10 -0800
commitd36116efce964b725631d78a44b7dcb5147fee63 (patch)
treeffe6d61d11ec972e55e0592395979c29674ce70f /include/ec_commands.h
parentc92a973c55a3030b9a781994b6bf0c2d2a1630c7 (diff)
downloadchrome-ec-d36116efce964b725631d78a44b7dcb5147fee63.tar.gz
CBI: Clarify value types in help messages
This patch make cbi-util and ectool show OEM_NAME and DRAM_PART_NUM take a string parameter. Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> BUG=b:118798180 BRANCH=none TEST=buildall Change-Id: I7b4e126f02f9488ce6059c090a5f3ec665b39406 Reviewed-on: https://chromium-review.googlesource.com/1323852 Commit-Ready: Daisuke Nojiri <dnojiri@chromium.org> Tested-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'include/ec_commands.h')
-rw-r--r--include/ec_commands.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h
index d0b272e8a8..ee6fa61ace 100644
--- a/include/ec_commands.h
+++ b/include/ec_commands.h
@@ -4901,9 +4901,9 @@ struct ec_params_efs_verify {
#define EC_CMD_SET_CROS_BOARD_INFO 0x0120
enum cbi_data_tag {
- CBI_TAG_BOARD_VERSION = 0, /* uint16_t or uint8_t[] = {minor,major} */
- CBI_TAG_OEM_ID = 1, /* uint8_t */
- CBI_TAG_SKU_ID = 2, /* uint8_t */
+ CBI_TAG_BOARD_VERSION = 0, /* uint32_t or smaller */
+ CBI_TAG_OEM_ID = 1, /* uint32_t or smaller */
+ CBI_TAG_SKU_ID = 2, /* uint32_t or smaller */
CBI_TAG_DRAM_PART_NUM = 3, /* variable length ascii, nul terminated. */
CBI_TAG_OEM_NAME = 4, /* variable length ascii, nul terminated. */
CBI_TAG_COUNT,