Files
OpenCellular/common
Vadim Bendebury ddcecbe089 drop: Ignore command version for FLASH_PROTECT command
The ec driver does not yet pass the command version properly from app
to the EC. This causes a failure when trying to read flashrom write
protect status (command 0x15).

The thing is that the command version is not even important for this
command, as it was never implemented differently.

As a quick fix - mark the command descriptor as supporting both
versions.

BRANCH=none
BUG=chromium:239197
TEST=manual

 . on peach_pit (with fixed flashrom, coming under a separate fix):
  # flashrom -p ec --wp-status
  flashrom v0.9.4  :  :  on Linux 3.8.11 (armv7l), built with libpci 3.1.10, GCC 4.7.x-google 20130114 (prerelease), little endian
  WP: status: 0x00
  WP: status.srp0: 0
  WP: write protect is disabled.
  WP: write protect range: start=0x00000000, len=0x00000000
  #

Change-Id: I8302457cc2afdfe3bdcb50cfa2bea29969d0c107
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/59462
Reviewed-by: Randall Spangler <rspangler@chromium.org>
2013-06-20 16:47:07 -07:00
..
2012-10-26 09:49:38 -07:00
2012-07-17 13:11:44 -07:00
2013-05-09 16:36:53 -07:00
2013-05-07 09:09:50 -07:00
2013-03-29 15:39:32 -07:00
2012-10-26 09:49:38 -07:00
2012-10-25 14:12:10 -07:00
2013-06-10 01:48:44 -07:00
2012-10-25 17:03:44 -07:00
2013-06-17 20:27:27 -07:00
2012-11-26 14:49:49 -08:00