summaryrefslogtreecommitdiff
path: root/util/ectool.c
diff options
context:
space:
mode:
authorAbe Levkoy <alevkoy@chromium.org>2020-03-11 09:14:32 -0600
committerCommit Bot <commit-bot@chromium.org>2020-03-24 10:47:30 +0000
commitf28e4caa00393a2bf16f37c929d7b5a95e654e90 (patch)
treee954bb779ae4f3a0823f0f4970c68826d6907363 /util/ectool.c
parent4ab2a671173b47366c099feb80fd7e429bf6bef9 (diff)
downloadchrome-ec-f28e4caa00393a2bf16f37c929d7b5a95e654e90.tar.gz
cbi: Support PCB supplier field
Add support for PCB_SUPPLIER, to distinguish boards of the same type with different PCB suppliers. BUG=b:140244489 TEST=ectool cbi set 7 0 1 0; ectool cbi get 7 TEST=cbi on EC console after writing with ectool TEST=/usr/share/userfeedback/scripts/cbi_info after writing with ectool TEST=cbi-util create --pcb_supplier 1 ...; cbi-util show ... BRANCH=none Change-Id: Ieadba91694f4775cc86c2c4b09cdf0874b9ad444 Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2108710 Reviewed-by: Jett Rink <jettrink@chromium.org> Tested-by: George Engelbrecht <engeg@google.com> Commit-Queue: George Engelbrecht <engeg@google.com>
Diffstat (limited to 'util/ectool.c')
-rw-r--r--util/ectool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/ectool.c b/util/ectool.c
index c04fddb4c6..fe681b675f 100644
--- a/util/ectool.c
+++ b/util/ectool.c
@@ -7716,6 +7716,7 @@ static void cmd_cbi_help(char *cmd)
" 4: OEM_NAME (string)\n"
" 5: MODEL_ID\n"
" 6: FW_CONFIG\n"
+ " 7: PCB_VENDOR\n"
" <size> is the size of the data in byte. It should be zero for\n"
" string types.\n"
" <value/string> is an integer or a string to be set\n"