[U-Boot] [PATCH V2 3/6] spi: define SPI_XFER_ONCE

Anatolij Gustschin agust at denx.de
Tue Nov 12 10:19:36 CET 2013


On Wed, 16 Oct 2013 17:23:26 +0300
Nikita Kiryanov <nikita at compulab.co.il> wrote:

> The flag combination "SPI_XFER_BEGIN | SPI_XFER_END" is a common use
> case of spi_xfer, and it can easily cause an already long line (spi_xfer
> takes 5 parameters) to go over the 80 character limit.
> 
> define SPI_XFER_ONCE to be a shorter version of the above flag combination.
> 
> Cc: Tom Rini <trini at ti.com>
> Cc: Jagannadha Sutradharudu Teki <jagannadh.teki at gmail.com>
> Cc: Igor Grinberg <grinberg at compulab.co.il>
> Signed-off-by: Nikita Kiryanov <nikita at compulab.co.il>
> ---
> NOTE:	This is a new patch. Its contents were originally part of "lcd: add
> 	DataImage SCF0403x LCD panel support". Split because it is unrelated to
> 	the patch it was originally in. (Igor Grinberg)
> 
>  include/spi.h | 1 +
>  1 file changed, 1 insertion(+)

applied to u-boot-video/master, thanks!

Anatolij


More information about the U-Boot mailing list