diff options
author | Joseph Lo <josephl@nvidia.com> | 2012-08-16 17:31:51 +0800 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-09-13 11:41:06 -0600 |
commit | 59b0f6825c15d24859e22b1024440ae2a094983e (patch) | |
tree | c0bfc0ebe5a4fc58318eb3a5045287fe452965fc /arch/arm/mach-tegra/common.c | |
parent | c2be5bfcc986e688c0c9b427b9fb33be178437d8 (diff) |
ARM: tegra30: add CPU hotplug support
Hotplug function put CPUs in offline or online state at runtime.
When the CPU been put in the offline state, it was been clock and
power gated. Except primary CPU other CPUs can be hotplugged.
Based on the work by:
Scott Williams <scwilliams@nvidia.com>
Colin Cross <ccross@android.com>
Gary King <gking@nvidia.com>
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/common.c')
-rw-r--r-- | arch/arm/mach-tegra/common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c index f3654f83099..06520564d81 100644 --- a/arch/arm/mach-tegra/common.c +++ b/arch/arm/mach-tegra/common.c @@ -34,6 +34,7 @@ #include "fuse.h" #include "pmc.h" #include "apbio.h" +#include "sleep.h" /* * Storage for debug-macro.S's state. @@ -147,6 +148,7 @@ void __init tegra30_init_early(void) tegra_init_cache(0x441, 0x551); tegra_pmc_init(); tegra_powergate_init(); + tegra30_hotplug_init(); } #endif |