Files
OpenCellular/util
Daisuke Nojiri f483d46b01 CBI: Update cbi-util printing format
This patch makes cbi-util print the tag and the size of each field.
It also fixes help message and adds indendation for readability.

BUG=b:70294260
BRANCH=none
TEST=Run the command as follows:
$ cbi-util --show /tmp/cbi.bin
CBI blob: /tmp/cbi2.bin
  TOTAL_SIZE: 18
  CBI_VERSION: 0
  Data Field: name: value (hex, tag, size)
    BOARD_VERSION: 514 (0x202, 0, 2)
    OEM_ID: 2 (0x2, 1, 1)
    SKU_ID: 3 (0x3, 2, 1)
Data validated successfully

Change-Id: I5f0fde4690c29c0ee58c798e8cc35bac3ed1b6f8
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/926781
Reviewed-by: Randall Spangler <rspangler@chromium.org>
2018-02-20 18:16:35 -08:00
..
2017-03-01 05:04:04 -08:00
2016-06-02 17:02:51 -07:00
2018-02-16 07:46:15 -08:00
2018-01-23 05:25:08 -08:00
2018-01-23 05:25:08 -08:00
2018-01-23 05:25:08 -08:00
2018-01-23 05:25:08 -08:00
2013-07-01 16:14:16 -07:00
2015-06-18 19:07:00 +00:00
2015-12-08 12:28:57 -08:00
2016-02-10 18:19:24 -08:00
2012-11-01 14:09:34 -07:00
2018-02-07 21:27:39 -08:00
2016-02-05 06:02:49 -08:00
2014-02-17 17:35:43 +00:00
2017-06-28 21:50:50 -07:00
2017-09-15 08:46:32 -07:00
2016-02-05 06:02:49 -08:00