i.MX31: support GPIO as a chip-select in the mxc_spi driver
authorGuennadi Liakhovetski <lg@denx.de>
Fri, 13 Feb 2009 08:26:40 +0000 (09:26 +0100)
committerAnatolij Gustschin <agust@denx.de>
Tue, 24 Feb 2009 08:48:33 +0000 (09:48 +0100)
commitfc7a93c84f3f134484811a0d9ad751fbc1a7da6d
treebe6da52e89b10fa6edc404094e79aef92c6a822e
parentb30de3cccf8867566cd314e7c7033904afa5dc9d
i.MX31: support GPIO as a chip-select in the mxc_spi driver

Some SPI devices have special requirements on chip-select handling.
With this patch we can use a GPIO as a chip-select and strictly follow
the SPI_XFER_BEGIN and SPI_XFER_END flags.

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
drivers/spi/mxc_spi.c