• Joseph Lo's avatar
    ARM: tegra30: fix power up sequence for boot_secondary · 130bfed7
    Joseph Lo authored
    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: default avatarJoseph Lo <josephl@nvidia.com>
    Acked-by: default avatarPeter De Schrijver <pdeschrijver@nvidia.com>
    Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
    130bfed7
platsmp.c 5.29 KB