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)
commitd127e9c5c5bc1ee22a7b1fe804397cddd132f756
tree2500a25b3a79dd3b593f8ad043bfcfacb0e63fa0
parent9997e62682e0fe68566c88f70ed320ded4e16529
ARM: tegra: make tegra_resume can work with current and later chips

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>
arch/arm/mach-tegra/reset-handler.S