diff options
-rw-r--r-- | arch/arm/mach-tegra/platsmp.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach-tegra/platsmp.c index 601bd0c3f983..516aab28fe34 100644 --- a/arch/arm/mach-tegra/platsmp.c +++ b/arch/arm/mach-tegra/platsmp.c | |||
@@ -146,6 +146,12 @@ remove_clamps: | |||
146 | return 0; | 146 | return 0; |
147 | } | 147 | } |
148 | 148 | ||
149 | static int tegra114_boot_secondary(unsigned int cpu, struct task_struct *idle) | ||
150 | { | ||
151 | cpu = cpu_logical_map(cpu); | ||
152 | return tegra_pmc_cpu_power_on(cpu); | ||
153 | } | ||
154 | |||
149 | static int __cpuinit tegra_boot_secondary(unsigned int cpu, | 155 | static int __cpuinit tegra_boot_secondary(unsigned int cpu, |
150 | struct task_struct *idle) | 156 | struct task_struct *idle) |
151 | { | 157 | { |
@@ -153,6 +159,8 @@ static int __cpuinit tegra_boot_secondary(unsigned int cpu, | |||
153 | return tegra20_boot_secondary(cpu, idle); | 159 | return tegra20_boot_secondary(cpu, idle); |
154 | if (IS_ENABLED(CONFIG_ARCH_TEGRA_3x_SOC) && tegra_chip_id == TEGRA30) | 160 | if (IS_ENABLED(CONFIG_ARCH_TEGRA_3x_SOC) && tegra_chip_id == TEGRA30) |
155 | return tegra30_boot_secondary(cpu, idle); | 161 | return tegra30_boot_secondary(cpu, idle); |
162 | if (IS_ENABLED(CONFIG_ARCH_TEGRA_114_SOC) && tegra_chip_id == TEGRA114) | ||
163 | return tegra114_boot_secondary(cpu, idle); | ||
156 | 164 | ||
157 | return -EINVAL; | 165 | return -EINVAL; |
158 | } | 166 | } |