diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2018-02-15 11:28:47 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2018-03-12 19:57:59 +0000 |
commit | 5dc5433e6d62a86714bc12c87bb657087c826c8a (patch) | |
tree | 0941ec84ce3a38b41eb748ee0ffb26cd77305d35 /util/powerd_lock.h | |
parent | a98f627ad2d4c6f061945eeebab8e4bddf5ac2a4 (diff) | |
download | chrome-ec-stabilize-10323.58.B.tar.gz |
CBI: Update cbi-util to support variable data offset & sizestabilize-10323.67.Bstabilize-10323.62.Bstabilize-10323.58.Brelease-R65-10323.B
This patch makes cbi-util support variable data offset & size.
BUG=b:70294260
BRANCH=none
TEST=Run the command as follows:
$ cbi-util --create /tmp/cbi.bin \
--board_version 0x202 --oem_id 2 --sku_id 3 --size 256
$ cbi-util --show /tmp/cbi.bin
CBI blob: /tmp/cbi2.bin
TOTAL_SIZE: 18
CBI_VERSION: 0
BOARD_VERSION: 514 (0x202)
OEM_ID: 1 (0x1)
SKU_ID: 2 (0x2)
Data validated successfully
Change-Id: Id290c33e8625223c8f3fa34fdf8a13ea9308c42e
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/922272
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/929312
Diffstat (limited to 'util/powerd_lock.h')
0 files changed, 0 insertions, 0 deletions