]> git.sur5r.net Git - u-boot/commit
spi: xilinx_spi: Modify transfer logic xilinx_spi_xfer() function
authorVipul Kumar <vipul.kumar@xilinx.com>
Sat, 30 Jun 2018 02:45:18 +0000 (08:15 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 16 Jul 2018 08:31:20 +0000 (14:01 +0530)
commit0c0de58f7b306e524225d03d8fd4fdd907a5ae5f
tree01a21989c367713377bd2d6793d8dd3f95ded759
parent4e7c1a26518fc4332f23c3ee001e10a31555b2b1
spi: xilinx_spi: Modify transfer logic xilinx_spi_xfer() function

This patch modify xilinx_spi_xfer() function and add rxfifo() and
txfifo() functions to add the modularity so that these functions
can be used by other functions within the same file.

This patch also added support to read fifo_size from dts.

Signed-off-by: Vipul Kumar <vipul.kumar@xilinx.com>
Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/spi/xilinx_spi.c