summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap-wakeupgen.c
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2012-09-13 06:14:34 +0200
committerTony Lindgren <tony@atomide.com>2012-09-13 06:14:34 +0200
commit3c5dc4a7daa6e64e39412fe9c7daa298834de623 (patch)
tree6783aa44b26cc4b65b7d186e8d1a9942ae16652a /arch/arm/mach-omap2/omap-wakeupgen.c
parentARM: OMAP4: wakeupgen: Fix the typo in AUXCOREBOOT register save (diff)
downloadlinux-3c5dc4a7daa6e64e39412fe9c7daa298834de623.tar.xz
linux-3c5dc4a7daa6e64e39412fe9c7daa298834de623.zip
ARM: OMAP4: wakeupgen: remove duplicate AUXCOREBOOT* read/write
The wakeupgen context-save code reads and stores the AUXCOREBOOT0 and AUXCOREBOOT1 register contents twice. This seems like a waste of time, so, remove the duplicates. Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap-wakeupgen.c')
-rw-r--r--arch/arm/mach-omap2/omap-wakeupgen.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/omap-wakeupgen.c b/arch/arm/mach-omap2/omap-wakeupgen.c
index c3795c27a0b1..567f672ca37e 100644
--- a/arch/arm/mach-omap2/omap-wakeupgen.c
+++ b/arch/arm/mach-omap2/omap-wakeupgen.c
@@ -233,12 +233,6 @@ static inline void omap4_irq_save_context(void)
__raw_writel(val, sar_base + AUXCOREBOOT1_OFFSET);
/* Save SyncReq generation logic */
- val = __raw_readl(wakeupgen_base + OMAP_AUX_CORE_BOOT_0);
- __raw_writel(val, sar_base + AUXCOREBOOT0_OFFSET);
- val = __raw_readl(wakeupgen_base + OMAP_AUX_CORE_BOOT_0);
- __raw_writel(val, sar_base + AUXCOREBOOT1_OFFSET);
-
- /* Save SyncReq generation logic */
val = __raw_readl(wakeupgen_base + OMAP_PTMSYNCREQ_MASK);
__raw_writel(val, sar_base + PTMSYNCREQ_MASK_OFFSET);
val = __raw_readl(wakeupgen_base + OMAP_PTMSYNCREQ_EN);