> -----Original Message----- > From: Felipe Balbi [mailto:me@xxxxxxxxxxxxxxx] > Sent: Saturday, April 19, 2008 6:22 PM > To: Tony Lindgren > Cc: Felipe Balbi; Syed Mohammed, Khasim; linux-omap@xxxxxxxxxxxxxxx; > discussion@xxxxxxxxxxxxxxx > Subject: Re: [PATCH 3/4] Adding support for OMAP3 Beagle Board > > On Fri, Apr 18, 2008 at 12:05:54PM -0700, Tony Lindgren wrote: > > > > +#ifndef __ASM_ARCH_OMAP3_BEAGLE_H > > > > +#define __ASM_ARCH_OMAP3_BEAGLE_H > > > > + > > > > +#ifdef CONFIG_TWL4030_CORE > > > > + > > > > +#define TWL4030_IRQNUM INT_34XX_SYS_NIRQ > > > > + > > > > +/* TWL4030 Primary Interrupt Handler (PIH) interrupts */ > > > > +#define IH_TWL4030_BASE IH_BOARD_BASE > > > > +#define IH_TWL4030_END (IH_TWL4030_BASE+8) > > > > +#define IH_TWL4030_PWRBASE (IH_TWL4030_END) > > > > +#define IH_TWL4030_PWRBASE_END (IH_TWL4030_PWRBASE+8) > > > > + > > > > +#ifdef CONFIG_TWL4030_GPIO > > > > +/* TWL4030 GPIO Interrupts */ > > > > +#define IH_TWL4030_GPIO_BASE (IH_TWL4030_PWRBASE_END) > > > > +#define IH_TWL4030_GPIO_END (IH_TWL4030_GPIO_BASE+18) > > > > +#define NR_IRQS (IH_TWL4030_GPIO_END) > > > > +#else > > > > +#define NR_IRQS (IH_TWL4030_PWRBASE_END) > > > > +#endif /* CONFIG_I2C_TWL4030_GPIO */ > > > > > > shouldn't you consider the power base as the other boards ? > > > > Felipe, can you clarify what you mean here? > > Just check board-3430sdp.h > > #ifdef CONFIG_TWL4030_CORE > > #define TWL4030_IRQNUM INT_34XX_SYS_NIRQ > > /* TWL4030 Primary Interrupt Handler (PIH) interrupts */ > #define IH_TWL4030_BASE IH_BOARD_BASE > #define IH_TWL4030_END (IH_TWL4030_BASE+8) > > #define IH_TWL4030_PWRBASE (IH_TWL4030_END) > #define IH_TWL4030_PWRBASE_END (IH_TWL4030_PWRBASE+8) > > #ifdef CONFIG_TWL4030_GPIO > > /* TWL4030 GPIO Interrupts */ > #define IH_TWL4030_GPIO_BASE (IH_TWL4030_PWRBASE_END) > #define IH_TWL4030_GPIO_END (IH_TWL4030_GPIO_BASE+18) > #define NR_IRQS (IH_TWL4030_GPIO_END) > #else > #define NR_IRQS (IH_TWL4030_PWRBASE_END) > #endif /* CONFIG_I2C_TWL4030_GPIO */ > #endif /* End of support for TWL4030 */ > #endif /* __ASM_ARCH_OMAP_3430SDP_H */ > > if there are no such defines for power base, it will break compilation > of twl4030-pwrirq.c which is always built whenever we enable twl4030 > support. > At present I have enabled TWL4030 support in both EVM and beagle patches and it is tested booting on both beagle and evm boards, "with out these defines". So, these defines are not required now. They will be added when necessary along with relevant functionality. I could have added but then your comment might have been, why to add these defines when they are not used :) Thanks for the review. Thanks & Regards, Khasim -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html