diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2016-08-17 11:39:06 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-08-22 23:27:23 -0700 |
commit | bccd2f94f1a53bf604b184db266045dc657752c7 (patch) | |
tree | f55aafbd9b3404fd0e7d785f8b2f431438efded3 /common/flash.c | |
parent | c439b33cdd1c427a7a48c7721225e318d9e40d6a (diff) | |
download | chrome-ec-bccd2f94f1a53bf604b184db266045dc657752c7.tar.gz |
g: implement firmware upgrade protocol version 3
This patch modifies CR50 code to switch to firmware update protocol
version 3. In this version both SPI and USB updates use exactly the
same messages (apart from the size field added by USB to help
reassembly of the fragmented frames).
Bot unused RO and RW sections can be now programmed.
BRANCH=none
BUG=chrome-os-partner:55789
TEST=on a Kevin running the existing cr50 image programmed the new
cr50 image, restarted the device, programmed the cr50 image again
(this time using version 3), restarted the device, then
programmed both RO and RW images and restarted the device. Each
time verified that the proper image is running.
Change-Id: I0cf196ec6de1786510433f8252164a33ccdc6dec
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/371941
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'common/flash.c')
0 files changed, 0 insertions, 0 deletions