diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2018-10-05 18:15:15 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-10-08 22:23:19 -0700 |
commit | 028505284c631073ba3e4dd12c9291febbb90871 (patch) | |
tree | 12c3aae80b029d75b0687bb6a3e930cf2727a189 /include/aes-gcm.h | |
parent | c03186c5b5d4f84e3f1fafae34ed53750760ba2a (diff) | |
download | chrome-ec-028505284c631073ba3e4dd12c9291febbb90871.tar.gz |
iteflash: make use of 256 byte pages when programming over CCD
It turns out the write command used by iteflash requires exactly one
flash page to be written at a time. Recent usb_i2c protocol
enhancement allow to pass up to 4K bytes in one transaction. This
patch makes sure that when using CCD exactly one page at a time is
programmed.
Also, there is no point in trying to sync up more than 10 times.
BRANCH=none
BUG=b:75976718
TEST=verified that both servo controlled write, running
$ make BOARD=dragonegg -j
$ ./util/flash_ec --board=dragonegg
and direct write over Cr50, running
$ make BOARD=dragonegg -j
$ cd ./build/dragonegg
$ util/iteflash -c -e -w ec.bin
succeed.
Change-Id: I39c10389dfcccbb32252d8c42fc54bef96330d3a
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1266677
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'include/aes-gcm.h')
0 files changed, 0 insertions, 0 deletions