ARM: tegra: power: Restore Tegra3 MC registers after LP0
authorAlex Frid <afrid@nvidia.com>
Thu, 15 Sep 2011 05:27:07 +0000 (22:27 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 07:57:53 +0000 (00:57 -0700)
commit2a99d7ad155d1e36b748e020272edad4f4b72471
tree5978f548646f7bc0d74eb2b11f7c81ea865faf10
parent582f026d2b0090aaa4dd9a58b85fdbecf739df3c
ARM: tegra: power: Restore Tegra3 MC registers after LP0

On exit from deep sleep (LP0) restore from SDRAM Tegra3 MC registers
that are not saved in PMC scratch file for boot-rom restoration. Since
SDRAM after LP0 is running at boot rate, MC registers are saved only
once during initialization.

Bug 874351

(ported from commit 99966c242920978a92f3f51e5957ada30afc4b1d)

Change-Id: I9bf06ddb83fa6435a4f5bd29ec58bb195a189678
Reviewed-on: http://git-master/r/61045
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R272136c877818d44b0cf28f8b5f720af71623301
arch/arm/mach-tegra/common-t3.c
arch/arm/mach-tegra/pm-t3.c
arch/arm/mach-tegra/tegra3_emc.h