linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP4: wakeupgen: remove duplicate AUXCOREBOOT* read/write
@ 2012-09-05 23:34 Paul Walmsley
  2012-09-06  6:35 ` Shilimkar, Santosh
  0 siblings, 1 reply; 10+ messages in thread
From: Paul Walmsley @ 2012-09-05 23:34 UTC (permalink / raw)
  To: linux-arm-kernel


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.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
---

Santosh, care to review/ack this one?

 arch/arm/mach-omap2/omap-wakeupgen.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/arm/mach-omap2/omap-wakeupgen.c b/arch/arm/mach-omap2/omap-wakeupgen.c
index 05fdebf..b55432d 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);
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-09-11 18:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-05 23:34 [PATCH] ARM: OMAP4: wakeupgen: remove duplicate AUXCOREBOOT* read/write Paul Walmsley
2012-09-06  6:35 ` Shilimkar, Santosh
2012-09-08  8:18   ` Shilimkar, Santosh
2012-09-10 18:55     ` Tony Lindgren
2012-09-11  6:19       ` Shilimkar, Santosh
2012-09-11  6:37         ` Paul Walmsley
2012-09-11  6:40           ` Shilimkar, Santosh
2012-09-11  6:43             ` Paul Walmsley
2012-09-11  7:19               ` Shilimkar, Santosh
2012-09-11 18:49                 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).