diff options
author | Scott Williams <scwilliams@nvidia.com> | 2011-02-11 14:37:19 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:42:21 -0800 |
commit | a78b6e4de0623337c26447bf045084217af426eb (patch) | |
tree | a874497bfe8f3057dc7bf5cc3f338b41fe27c6a7 /arch/arm/mach-tegra/platsmp.c | |
parent | 41d47bdeca1b9eb34fd89fbe875bdab9208fb00c (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>
Original-Change-Id: Id0a7e5ad62df4d1638518fe00715aac60e4efea9
Rebase-Id: Re39a0fedb7bb0e2518cfd56d46c6565d4a6c2ef4
Diffstat (limited to 'arch/arm/mach-tegra/platsmp.c')
-rw-r--r-- | arch/arm/mach-tegra/platsmp.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach-tegra/platsmp.c index 55b06b91a199..1f91d4d08584 100644 --- a/arch/arm/mach-tegra/platsmp.c +++ b/arch/arm/mach-tegra/platsmp.c @@ -63,10 +63,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 extern void tegra_secondary_startup(void); @@ -159,7 +155,7 @@ void __init platform_smp_prepare_cpus(unsigned int max_cpus) scu_enable(scu_base); } -#if defined(CONFIG_ARCH_TEGRA_3x_SOC) +#if !defined(CONFIG_ARCH_TEGRA_2x_SOC) static bool is_cpu_powered(unsigned int cpu) { |