]> git.dujemihanovic.xyz Git - u-boot.git/commit
qspi: t210: Fix QSPI clock and tap delays
authorTom Warren <twarren@nvidia.com>
Mon, 25 Nov 2019 21:43:50 +0000 (14:43 -0700)
committerTom Warren <twarren@nvidia.com>
Thu, 2 Apr 2020 21:30:02 +0000 (14:30 -0700)
commit2fcc3ba1b766df5f8cfbf35cb2cc88edff94d0f3
treea493f81731c7b92c939cb4a600d72537a47068e1
parent3c8cf240322e76eebbb31593c96f0754092df91f
qspi: t210: Fix QSPI clock and tap delays

When claim_bus was setting the clock, it reset the QSPI controller,
which wipes out any tap delays set by previous bootloaders (nvtboot,
CBoot for example on Nano). Instead of doing that in claim_bus, which
gets called a lot, moved clock setting to probe(), and set tap delays
there, too. Also updated clock to 80MHz to match CBoot. Now QSPI env
save works reliably again.

Signed-off-by: Tom Warren <twarren@nvidia.com>
drivers/spi/tegra210_qspi.c