aboutsummaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2018-03-08 16:14:15 +0100
committerNico Huber <nico.h@gmx.de>2018-03-20 10:01:20 +0000
commit22418428ed28d803bfca151623bbf017d1ba6bfc (patch)
tree6fbf0e0bd0ce3dd315c849309f4f62139a933756 /flash.h
parenta3ab6c6c3ae7ec62944aad580bbfc1701b3a8581 (diff)
downloadflashrom-22418428ed28d803bfca151623bbf017d1ba6bfc.tar.gz
flashrom-22418428ed28d803bfca151623bbf017d1ba6bfc.tar.bz2
flashrom-22418428ed28d803bfca151623bbf017d1ba6bfc.zip
linux_spi: Reduce maximum read chunksize
It turned out that older kernels use a single buffer of `bufsiz` bytes for combined input and output data. So we have to account for the read command + max 4 address bytes. Change-Id: Ide50db38af1004fde09a70b15938e77f5e1285ac Signed-off-by: Nico Huber <nico.huber@secunet.com> Tested-by: Julian von Mendel <git@jinvent.de> Reviewed-on: https://review.coreboot.org/25149 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julian von Mendel <git@jinvent.de> Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Diffstat (limited to 'flash.h')
0 files changed, 0 insertions, 0 deletions