MX28: SPI: Pull out the PIO transfer function
authorMarek Vasut <marex@denx.de>
Mon, 9 Jul 2012 00:48:32 +0000 (00:48 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:16 +0000 (14:58 +0200)
commitccd4d5a0d484c929bf78772f0a5f8dfd91e078ab
tree982ea684de2c0326983a6cb5c88472c643939608
parentc7065fa824ab30108e1964bf1060eacb4323a85e
MX28: SPI: Pull out the PIO transfer function

Pull out all the PIO transfer logic into separate function,
so DMA can be added.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
drivers/spi/mxs_spi.c