]> git.ipfire.org Git - thirdparty/u-boot.git/commit
spi: xilinx_spi: Correct the fifo-depth calculation
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Mon, 29 Aug 2016 07:31:19 +0000 (13:01 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 29 Aug 2016 07:41:20 +0000 (09:41 +0200)
commitaebea9d20a5aa32857f320c07ca8f9fd1b3dec1f
tree0106fa25ae6c1f497c8dc5677aa7bd8ea829b4af
parent3a322798be5560e99e4d9c0ecb3e339fd98a8482
spi: xilinx_spi: Correct the fifo-depth calculation

Correctly fill the fifo depth by passing correct node in getting
it from device tree. This fixes the issue of hanging in a loop while
reading environment from spi flash during boot up which is caused by
commit "spi: xilinx_spi: Modify transfer logic for quad mode"
(sha1: c638e0e80e5ddfac2999692f4aa824021bf3f196)

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/spi/xilinx_spi.c