]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
spi: Add parameter for maximum write size
authorSimon Glass <sjg@chromium.org>
Mon, 11 Mar 2013 06:08:05 +0000 (06:08 +0000)
committerSimon Glass <sjg@chromium.org>
Tue, 19 Mar 2013 15:45:36 +0000 (08:45 -0700)
commit0c456cee952f3fa5ae6f5c42f960eeaa39140b62
treebf065ddb5bef5467ab1f0bebe38bd9d5a9951c66
parent1853030e2164c849c09f1ba051d243265e2591ec
spi: Add parameter for maximum write size

Some SPI controllers (e.g. Intel ICH) have a limit on the number of SPI
bytes that can be written at a time. Add this as a parameter so that
clients of the SPI interface can respect this value.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/spi.h