Thread (64 messages) 64 messages, 3 authors, 2011-04-03

[pm-core][PATCH v3 01/21] OMAP4: PM: Add omap WakeupGen module support

From: Santosh Shilimkar <hidden>
Date: 2011-03-29 05:49:07
Also in: linux-omap

-----Original Message-----
From: Tony Lindgren [mailto:tony at atomide.com]
Sent: Tuesday, March 29, 2011 2:20 AM
To: Santosh Shilimkar
Cc: linux-omap at vger.kernel.org; khilman at ti.com; rnayak at ti.com;
linux-arm-kernel at lists.infradead.org
Subject: Re: [pm-core][PATCH v3 01/21] OMAP4: PM: Add omap WakeupGen
module support

* Santosh Shilimkar [off-list ref] [110328 02:20]:
quoted
--- a/arch/arm/mach-omap2/omap4-common.c
+++ b/arch/arm/mach-omap2/omap4-common.c
@@ -21,6 +21,7 @@

 #include <mach/hardware.h>
 #include <mach/omap4-common.h>
+#include <mach/omap-wakeupgen.h>

 #ifdef CONFIG_CACHE_L2X0
 void __iomem *l2cache_base;
@@ -41,6 +42,8 @@ void __init gic_init_irq(void)
 	gic_cpu_base = ioremap(OMAP44XX_GIC_CPU_BASE, SZ_512);
 	BUG_ON(!gic_cpu_base);

+	omap_wakeupgen_init();
+
 	gic_init(0, 29, gic_dist_base_addr, gic_cpu_base);
 }
Do you really need to initialize all of this that early?
Yes. It's a interrupt controller extension and needs to work
together with GIC.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help