aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSantosh Shilimkar <santosh.shilimkar@ti.com>2013-02-10 02:48:42 -0500
committerSantosh Shilimkar <santosh.shilimkar@ti.com>2013-03-28 03:25:59 -0400
commit466caec026e38df1a3dda117ac90ccc82b8d3f14 (patch)
tree1c5374959de6997240276f70a08ffa65dbfd274c
parent4df9c29bf6eec23e99e83c9e1531603af69b4b42 (diff)
ARM: OMAP4+: Remove un-necessary cacheflush in secondary CPU boot path
This was borrowed from ARM versatile code with pen_release mechanism but since OMAP uses hardware register based synchronisation, pen_release stuff was dropped. Unfortunately the cacheflush wasn't dropped along with it. Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
-rw-r--r--arch/arm/mach-omap2/omap-smp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/omap-smp.c b/arch/arm/mach-omap2/omap-smp.c
index d9727218dd0a..5d8f2497017e 100644
--- a/arch/arm/mach-omap2/omap-smp.c
+++ b/arch/arm/mach-omap2/omap-smp.c
@@ -21,7 +21,6 @@
21#include <linux/io.h> 21#include <linux/io.h>
22#include <linux/irqchip/arm-gic.h> 22#include <linux/irqchip/arm-gic.h>
23 23
24#include <asm/cacheflush.h>
25#include <asm/smp_scu.h> 24#include <asm/smp_scu.h>
26 25
27#include "omap-secure.h" 26#include "omap-secure.h"
@@ -103,9 +102,6 @@ static int __cpuinit omap4_boot_secondary(unsigned int cpu, struct task_struct *
103 else 102 else
104 __raw_writel(0x20, base + OMAP_AUX_CORE_BOOT_0); 103 __raw_writel(0x20, base + OMAP_AUX_CORE_BOOT_0);
105 104
106 flush_cache_all();
107 smp_wmb();
108
109 if (!cpu1_clkdm) 105 if (!cpu1_clkdm)
110 cpu1_clkdm = clkdm_lookup("mpu1_clkdm"); 106 cpu1_clkdm = clkdm_lookup("mpu1_clkdm");
111 107