ARM: tegra30: fix power up sequence for boot_secondary
authorJoseph Lo <josephl@nvidia.com>
Thu, 3 Jan 2013 07:31:31 +0000 (15:31 +0800)
committerStephen Warren <swarren@nvidia.com>
Mon, 28 Jan 2013 17:21:41 +0000 (10:21 -0700)
commit130bfed72c75a36c76ecc82d73818c6fccd2a468
tree3f193d9e84f0520c649372e152ac00c58cbd6b63
parentc26cefd08990e3a393cc1592efc3f097f608015f
ARM: tegra30: fix power up sequence for boot_secondary

The power up sequence is different on the cold boot CPU and the CPU
that resumed from the hotplug. For the cold boot CPU, it was been power
gated as default. To power up the cold boot CPU, the power should be
un-gated by un toggling the power gate register manually.

For the CPU that resumed from the hotplug, after un-halted the CPU. The
flow controller will un-gate the power of the CPU. No need to manually
control, just wait the power be resumed and continue the power up
sequence after the CPU power is ready.

Based on the work by:
Varun Wadekar <vwadekar@nvidia.com>

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Acked-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/platsmp.c
This page took 0.024328 seconds and 5 git commands to generate.