flashchips: Enable unbounded reads for all 25-series SPI flash chips
This adds FEATURES_UNBOUND_READ for all 25-series SPI flash chips
and marks them as tested for unbound reads. It assumes that all
currently supported 25-series SPI chips will auto-increment and
are not limited to page-sized reads.
I only checked a few data sheets representing popular vendors
(Winbond, Gigadevice, Macronix, Spansion) and for specific older
chips such as W25X- series (<1MB, sometimes used for EC ROMs). All of
them describe the read command as auto-incrementing and able to
read the entire memory in a single operation.
BUG=none
BRANCH=none
TEST=Tested in-system on veyron_danger (non-x86) and paine (x86),
no real difference in speed. However, Servo read time for a 4MB
ROM on Danger went from about 34sec down to just under 5sec.
Signed-off by: David Hendricks <dhendrix@chromium.org>
Change-Id: Iadbed33cfc570a4cb8d6274ff6ec7d56a1e5008d
Reviewed-on: https://chromium-review.googlesource.com/314239
Commit-Ready: David Hendricks <dhendrix@chromium.org>
Tested-by: David Hendricks <dhendrix@chromium.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
1 file changed