memory: tegra: Increase handshake timeout on Tegra20
authorDmitry Osipenko <digetx@gmail.com>
Sun, 11 Aug 2019 21:00:35 +0000 (00:00 +0300)
committerThierry Reding <treding@nvidia.com>
Mon, 11 Nov 2019 13:55:26 +0000 (14:55 +0100)
commitb56563d0138c3622634e50f3dbca1359b5e7237b
tree46b198917f7495d5e17652c655992e7f34d191b1
parentf541efaa7459621fb68eb6e54546e195ab48d43a
memory: tegra: Increase handshake timeout on Tegra20

Turned out that it could take over a millisecond under some circumstances,
like running on a very low CPU/memory frequency. TRM says that handshake
happens when there is a "safe" moment, but not explains exactly what that
moment is. Apparently at least memory should be idling and thus the low
frequency should be a reasonable cause for a longer handshake delay.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/memory/tegra/tegra20-emc.c