ARM: tegra: make tegra_resume can work with current and later chips
authorJoseph Lo <josephl@nvidia.com>
Fri, 11 Oct 2013 09:57:31 +0000 (17:57 +0800)
committerStephen Warren <swarren@nvidia.com>
Fri, 18 Oct 2013 22:28:08 +0000 (16:28 -0600)
Because the CPU0 was the first up and the last down core when cluster
power up/down or platform suspend. So only CPU0 needs the rest of the
functions to reset flow controller and re-enable SCU and L2. We also
move the L2 init function for Cortex-A15 to there. The secondery CPU
can just call cpu_resume.

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>

No differences found