ARM: tegra14x: Powering up secondary CPUs
Seshendra Gadagottu [Wed, 25 Jul 2012 23:27:28 +0000 (16:27 -0700)]
Change-Id: I8af4f7869054b4a835ef5c7ee14d5fbcef89f0b6
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/118440
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

arch/arm/mach-tegra/platsmp.c
arch/arm/mach-tegra/powergate.c

index bd73b6e..6502d1f 100644 (file)
@@ -325,6 +325,7 @@ static int __cpuinit tegra_boot_secondary(unsigned int cpu, struct task_struct *
                status = tegra30_power_up_cpu(cpu);
                break;
        case TEGRA11X:
+       case TEGRA14X:
                status = tegra11x_power_up_cpu(cpu);
                break;
        default:
index d64a5f6..d66e32c 100644 (file)
@@ -1234,6 +1234,11 @@ int __init tegra_powergate_init(void)
                tegra_num_cpu_domains = 4;
                tegra_cpu_domains = tegra_quad_cpu_domains;
                break;
+       case TEGRA14X:
+               tegra_num_powerdomains = 25;
+               tegra_num_cpu_domains = 4;
+               tegra_cpu_domains = tegra_quad_cpu_domains;
+               break;
        default:
                /* Unknown Tegra variant. Disable powergating */
                tegra_num_powerdomains = 0;