summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/platsmp.c
diff options
context:
space:
mode:
authorScott Williams <scwilliams@nvidia.com>2011-02-11 14:37:19 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2011-04-26 15:51:43 -0700
commit097f518aed5c5435cec0ddba117fcdb50d3428d3 (patch)
treea382782b7b68638eb03a7783096032fead33c4b8 /arch/arm/mach-tegra/platsmp.c
parent395b89973d0b3cb2857af1a2cccb8d5344f17a92 (diff)
arm: tegra: Fix initial boot to LP cluster
Forbid cluster switch to G cluster if the G cluster doesn't exist. Bug 791057 Original-Change-Id: I215de2581edf5fb3c1feaa00d1c6e0b52b15dc23 Reviewed-on: http://git-master/r/19302 Tested-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Change-Id: Id0a7e5ad62df4d1638518fe00715aac60e4efea9
Diffstat (limited to 'arch/arm/mach-tegra/platsmp.c')
-rw-r--r--arch/arm/mach-tegra/platsmp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach-tegra/platsmp.c
index e87b4784f91a..25921d9d9224 100644
--- a/arch/arm/mach-tegra/platsmp.c
+++ b/arch/arm/mach-tegra/platsmp.c
@@ -70,10 +70,6 @@ static int power_up_cpu(unsigned int cpu);
#define CLK_RST_CONTROLLER_CPU_CMPLX_STATUS \
(IO_ADDRESS(TEGRA_CLK_RESET_BASE) + 0x470)
-#define FUSE_SKU_DIRECT_CONFIG \
- (IO_ADDRESS(TEGRA_FUSE_BASE) + 0x1F4)
-#define FUSE_SKU_DISABLE_ALL_CPUS (1<<5)
-#define FUSE_SKU_NUM_DISABLED_CPUS(x) (((x) >> 3) & 3)
#endif
void __cpuinit platform_secondary_init(unsigned int cpu)
@@ -319,7 +315,7 @@ int platform_cpu_disable(unsigned int cpu)
}
#endif
-#if defined(CONFIG_ARCH_TEGRA_3x_SOC)
+#if !defined(CONFIG_ARCH_TEGRA_2x_SOC)
static bool is_cpu_powered(unsigned int cpu)
{