summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorJohnnie Chan <johnniec@chromium.org>2016-08-13 00:04:30 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-08-24 17:40:39 -0700
commitdbd62c36da1fa1960a050cf569b93deaa194cea7 (patch)
treea1da9cd1239829b49c57a70b5e5bb66402018e3a /extra
parentc5bd6d98b9c0799b2c7409d95af980fcdc1e44ea (diff)
downloadchrome-ec-dbd62c36da1fa1960a050cf569b93deaa194cea7.tar.gz
Modified flash API batch write logic to respect row boundaries.
* Added MACRO for specifying row size of flash device. * Set chip/g specific values for flash row size. The flash API for g/chip will segment large write operations into a maximum of 32 word blocks for batch writes to flash memory. Prior to the change in this commit, the segmentation will adhere to avoiding crossing page boundaries (2048B) but will not respect row boundaries (256B). The flash controller will reject any write op that crosses a row boundary and set a row boundary violation code on its error register. BRANCH=none BUG=b:30819377 TEST=make BOARD=haven_dev Change-Id: I489122ec0f0db6374dd373a1385c3012bdface20 Reviewed-on: https://chromium-review.googlesource.com/371003 Commit-Ready: Bill Richardson <wfrichar@chromium.org> Commit-Ready: Johnnie Chan <johnniec@google.com> Tested-by: Johnnie Chan <johnniec@google.com> Reviewed-by: Bill Richardson <wfrichar@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'extra')
0 files changed, 0 insertions, 0 deletions