Re: [RFC PATCH] ARM: OMAP3630: Add generic machine descriptor

2013-09-20 Thread Nishanth Menon
On 09/20/2013 12:42 PM, Felipe Balbi wrote: > Hi, > > On Fri, Sep 20, 2013 at 10:16:48AM -0700, Olof Johansson wrote: >>> On Fri, Sep 20, 2013 at 09:19:02AM -0700, Olof Johansson wrote: On Fri, Sep 20, 2013 at 9:08 AM, Nishanth Menon wrote: > An alternative approach may be to (for all So

Re: [RFC PATCH] ARM: OMAP3630: Add generic machine descriptor

2013-09-20 Thread Felipe Balbi
Hi, On Fri, Sep 20, 2013 at 10:16:48AM -0700, Olof Johansson wrote: > > On Fri, Sep 20, 2013 at 09:19:02AM -0700, Olof Johansson wrote: > >> On Fri, Sep 20, 2013 at 9:08 AM, Nishanth Menon wrote: > >> > An alternative approach may be to (for all SoCs): > >> > 1. define every SoC entry - ti,omap34

Re: [RFC PATCH] ARM: OMAP3630: Add generic machine descriptor

2013-09-20 Thread Olof Johansson
On Fri, Sep 20, 2013 at 9:23 AM, Felipe Balbi wrote: > Hi, > > On Fri, Sep 20, 2013 at 09:19:02AM -0700, Olof Johansson wrote: >> On Fri, Sep 20, 2013 at 9:08 AM, Nishanth Menon wrote: >> > An alternative approach may be to (for all SoCs): >> > 1. define every SoC entry - ti,omap3430 ti,omap3630.

Re: [RFC PATCH] ARM: OMAP3630: Add generic machine descriptor

2013-09-20 Thread Felipe Balbi
Hi, On Fri, Sep 20, 2013 at 09:19:02AM -0700, Olof Johansson wrote: > On Fri, Sep 20, 2013 at 9:08 AM, Nishanth Menon wrote: > > An alternative approach may be to (for all SoCs): > > 1. define every SoC entry - ti,omap3430 ti,omap3630... > > 2. have a generic omap3_init which uses "if > > (of_ma

Re: [RFC PATCH] ARM: OMAP3630: Add generic machine descriptor

2013-09-20 Thread Olof Johansson
Hi, On Fri, Sep 20, 2013 at 9:08 AM, Nishanth Menon wrote: > An alternative approach may be to (for all SoCs): > 1. define every SoC entry - ti,omap3430 ti,omap3630... > 2. have a generic omap3_init which uses "if > (of_machine_is_compatible("ti,omap3630"))" > to invoke the appropriate omap3xxx_