HACK: platsmp.c/pm-t3.c ignore compile errors
Dan Willemsen [Sat, 11 Jun 2011 03:23:16 +0000 (20:23 -0700)]
Rebase-Id: Ra4550b3ee066c825b3484bac1e928fe8c086e0c4

arch/arm/mach-tegra/platsmp.c
arch/arm/mach-tegra/pm-t3.c

index 6829624..3315ecd 100644 (file)
@@ -242,6 +242,7 @@ static int power_up_cpu(unsigned int cpu)
         * for confirmation that cpu is powered and remove clamps.
         * On first boot entry do not wait - go to direct ungate.
         */
+#if 0 /* FIXME! */
        if (cpu_isset(cpu,*(cpumask_t*)&tegra_cpu_init_map))
        {
                timeout = jiffies + HZ;
@@ -251,6 +252,7 @@ static int power_up_cpu(unsigned int cpu)
                        udelay(10);
                } while (time_before(jiffies, timeout));
        }
+#endif
        /* 1'st boot or Flow controller did not work as expected - try directly toggle
           power gates. Bail out if direct power on also failed */
        if (!is_cpu_powered(cpu))
index b4bf222..89f7990 100644 (file)
@@ -300,13 +300,17 @@ int tegra_cluster_control(unsigned int us, unsigned int flags)
 
        local_irq_disable();
        if (flags & TEGRA_POWER_SDRAM_SELFREFRESH) {
+#if 0 /* FIXME! */
                if (us)
                        tegra_lp2_set_trigger(us);
+#endif
 
                tegra_suspend_dram(false, flags);
 
+#if 0 /* FIXME! */
                if (us)
                        tegra_lp2_set_trigger(0);
+#endif
        } else
                tegra_idle_lp2_last(flags);
        local_irq_enable();