Tegra: memctrl_v2: fix software logic to check "flush complete"
authorVarun Wadekar <vwadekar@nvidia.com>
Tue, 18 Apr 2017 16:55:54 +0000 (09:55 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 15 Jun 2017 00:00:53 +0000 (17:00 -0700)
commit368d54502cc9b92d3c3d374b2de7ae09286c86f7
tree54a3f7c912fb696052a1472a1069c78bf6d60e3a
parent70cb692e234155b7b831ee2414a0818b26c0b7df
Tegra: memctrl_v2: fix software logic to check "flush complete"

This patch fixes the logic to check if the command written to the
MC_CLIENT_HOTRESET_CTRLx registers, was accepted by the hardware module.

Change-Id: If94fff9424555cb4688042eda17b4b20f4eb399a
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
plat/nvidia/tegra/common/drivers/memctrl/memctrl_v2.c