]> git.sur5r.net Git - u-boot/commit
spi: xilinx: Move timeout calculation out of the loop
authorMichal Simek <michal.simek@xilinx.com>
Wed, 22 Jan 2014 08:48:55 +0000 (09:48 +0100)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Tue, 18 Feb 2014 16:54:28 +0000 (22:24 +0530)
commit999c39a45f115a17f6b894e3a9cd894c598fb2e0
treef3e769476453a81521b89095c0c57dc6dc92bcc6
parent22a240c32c1340183fce12867ae5f8736b92a638
spi: xilinx: Move timeout calculation out of the loop

Timeout calculation should be out of the data loop.
This patch increase spi bandwidth for 30%.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
drivers/spi/xilinx_spi.c