Re: [PATCH 4/4] omap: Make get_irqnr_and_base common for mach-omap2 multiboot, v2

2010-01-22 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [100116 03:53]: On Fri, Jan 15, 2010 at 05:35:20PM -0800, Tony Lindgren wrote: -#ifndef CONFIG_ARCH_OMAP4 +#if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430) || \ + defined(CONFIG_ARCH_OMAP34XX) + +#define

Re: [PATCH 4/4] omap: Make get_irqnr_and_base common for mach-omap2 multiboot, v2

2010-01-22 Thread Russell King - ARM Linux
On Fri, Jan 22, 2010 at 12:39:53PM -0800, Tony Lindgren wrote: Here's this patch updated. It should now be actually more optimized for non-multi-omap configurations as it uses the get_irqnr_preamble :) And the patch looks a lot cleaner and easier to read. diff --git

Re: [PATCH 4/4] omap: Make get_irqnr_and_base common for mach-omap2 multiboot, v2

2010-01-22 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [100122 12:54]: On Fri, Jan 22, 2010 at 12:39:53PM -0800, Tony Lindgren wrote: Here's this patch updated. It should now be actually more optimized for non-multi-omap configurations as it uses the get_irqnr_preamble :) And the patch looks a

Re: [PATCH 4/4] omap: Make get_irqnr_and_base common for mach-omap2 multiboot, v2

2010-01-22 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [100122 13:07]: * Russell King - ARM Linux li...@arm.linux.org.uk [100122 12:54]: On Fri, Jan 22, 2010 at 12:39:53PM -0800, Tony Lindgren wrote: Here's this patch updated. It should now be actually more optimized for non-multi-omap configurations as it

RE: [PATCH 4/4] omap: Make get_irqnr_and_base common for mach-omap2 multiboot

2010-01-16 Thread Shilimkar, Santosh
-omap@vger.kernel.org Subject: [PATCH 4/4] omap: Make get_irqnr_and_base common for mach-omap2 multiboot Make get_irqnr_and_base common for mach-omap2 multiboot Note that this will only work currently for 24xx and 34xx. The overhead of this should be minimal, it basically adds one cmp

Re: [PATCH 4/4] omap: Make get_irqnr_and_base common for mach-omap2 multiboot

2010-01-16 Thread Russell King - ARM Linux
On Fri, Jan 15, 2010 at 05:35:20PM -0800, Tony Lindgren wrote: -#ifndef CONFIG_ARCH_OMAP4 +#if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430) || \ + defined(CONFIG_ARCH_OMAP34XX) + +#define INTCPS_SIR_IRQ_OFFSET0x0040 /* Active interrupt offset */

Re: [PATCH 4/4] omap: Make get_irqnr_and_base common for mach-omap2 multiboot

2010-01-16 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [100116 03:53]: On Fri, Jan 15, 2010 at 05:35:20PM -0800, Tony Lindgren wrote: -#ifndef CONFIG_ARCH_OMAP4 +#if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430) || \ + defined(CONFIG_ARCH_OMAP34XX) + +#define

[PATCH 4/4] omap: Make get_irqnr_and_base common for mach-omap2 multiboot

2010-01-15 Thread Tony Lindgren
Make get_irqnr_and_base common for mach-omap2 multiboot Note that this will only work currently for 24xx and 34xx. The overhead of this should be minimal, it basically adds one cmp to see if omap_irq_base has been configured already. If necessary, we can set separate optimized get_irqnr_and_base