Parrot EC firmware ec command returns BCD format

Parrot EC command GET_FIRMWARE_VER(0x51) returns 3 bytes of binary
coded dicimals: MAJOR (0 ~ 9), MINOR (00 ~ 99), REV(00 ~ 99)

BUG=chrome-os-partner:11865
TEST=manual
  flash EC spi rom with KBEC010A.ROM (version 0.10A)
  VT2 command "mosys ec info" should return:
    ENE | KB932 | 00BE010A00

(cherry picked from commit 67f9c3bca19c8a058fdfca60b0c91a09f10fe78d)

Change-Id: I48c1b262bf6f9c8f1ab76705e6a5f972e95dd4c4
Reviewed-on: https://gerrit.chromium.org/gerrit/28696
Tested-by: Rong Chang <rongchang@chromium.org>
Commit-Ready: Rong Chang <rongchang@chromium.org>
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/28823
Reviewed-by: Jay Kim <yongjaek@chromium.org>
1 file changed