]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/spi.h
spi: Add parameter for maximum write size
[karo-tx-uboot.git] / include / spi.h
index ebc96521602f8eee67ecae36c2a62a2646cbb151..3fe2e1eab2defc568079cd8a035225bbf682b18d 100644 (file)
  *
  *   bus:      ID of the bus that the slave is attached to.
  *   cs:       ID of the chip select connected to the slave.
+ *   max_write_size:   If non-zero, the maximum number of bytes which can
+ *             be written at once, excluding command bytes.
  */
 struct spi_slave {
        unsigned int    bus;
        unsigned int    cs;
+       unsigned int max_write_size;
 };
 
 /*-----------------------------------------------------------------------