From: Tony Lindgren <tony@atomide.com>
To: "Hiremath, Vaibhav" <hvaibhav@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
"Hilman, Kevin" <khilman@ti.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"Mohammed, Afzal" <afzal@ti.com>
Subject: Re: [PATCH-V5 2/3] arm:omap:am33xx: Add AM335XEVM machine support
Date: Thu, 3 May 2012 08:57:18 -0700 [thread overview]
Message-ID: <20120503155717.GE5140@atomide.com> (raw)
In-Reply-To: <79CD15C6BA57404B839C016229A409A83EA10A64@DBDE01.ent.ti.com>
Hi,
* Hiremath, Vaibhav <hvaibhav@ti.com> [120502 02:37]:
> On Wed, May 02, 2012 at 14:53:24, Paul Walmsley wrote:
> > Hi
> >
> > On Fri, 2 Dec 2011, hvaibhav@ti.com wrote:
> >
> > > From: Afzal Mohammed <afzal@ti.com>
> > >
> > > This patch adds minimal support for AM335X EVM.
> > > The approach taken here is to add AM335X EVM support
> > > to AM3517EVM, considering the fact that with device tree
> > > developement we will get rid of board-*.c.
> > >
> > > Signed-off-by: Afzal Mohammed <afzal@ti.com>
> > > Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
> > > Reviewed-by: Kevin Hilman <khilman@ti.com>
> >
> > I realize people may not necessarily like this, but I think that the
> > AM33xx EVM needs its own board file. This is because it really has
> > nothing to do with the AM3517EVM. Also, the AM3517EVM depends on
> > CONFIG_ARCH_OMAP3, but the AM33xx EVM should not: it should depend on
> > either CONFIG_ARCH_OMAPAM33XX, or CONFIG_ARCH_OMAP4.
I guess adding CONFIG_SOC_AM33XX makes sense if it does not share anything
except core with omap3. And the SOC is independent of the core selected,
there is no dependency between SoC and the core.
Note that we have CONFIG_ARCH_OMAP2PLUS, all the other ones should be just
CONFIG_SOC_XXX. As all omap3 omap4 and am33xx are v7, there's no need to
compile with different flags either.
> > So the following modification of this patch opts for the former Kconfig
> > option, CONFIG_ARCH_OMAPAM33XX. It also adds a new, minimal board file
> > for the AM33xx EVM.
Sorry, no more new board files. Please make it device tree only then.
> > If, on the other hand, people want to use CONFIG_ARCH_OMAP4 instead for
> > the AM33xx, then we could potentially add the new machine record into
> > board-omap4panda.c. Although even then, if political considerations were
> > set aside, the best technical decision would probably be to create a
> > separate board file, since the boards don't have much in common.
> >
> >
> Paul,
> I completely agree with all of your comments, let Tony comment and conform
> on this.
> If you go back to history, that was our initial proposal, to create
> separate Kconfig option for AM33XX.
>
> Tony,
>
> Can you please comment on this discussion? This is very important, since
> lots of patches (accepted or about to accept) are dependent on this. The
> early we can conclude on this, early I can rework on the patches and
> resubmit them.
Yes, please do. Also note that if this means sprinkling tons of cpu_is_omapxxx
all over the code, we need to find a cleaner solution.
Regards,
Tony
next prev parent reply other threads:[~2012-05-03 15:57 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-02 6:43 [PATCH-V5 2/3] arm:omap:am33xx: Add AM335XEVM machine support hvaibhav
2012-05-02 9:23 ` Paul Walmsley
2012-05-02 9:34 ` Hiremath, Vaibhav
2012-05-03 15:57 ` Tony Lindgren [this message]
2012-05-03 16:41 ` Hiremath, Vaibhav
2012-05-03 19:37 ` Tony Lindgren
2012-05-04 6:14 ` Hiremath, Vaibhav
2012-05-03 21:17 ` Kevin Hilman
2012-05-04 6:00 ` Hiremath, Vaibhav
2012-05-04 20:05 ` Tony Lindgren
2012-05-07 14:38 ` Hiremath, Vaibhav
2012-05-07 17:32 ` Tony Lindgren
2012-05-07 18:55 ` Hiremath, Vaibhav
2012-05-08 19:06 ` Tony Lindgren
2012-05-08 19:57 ` Hiremath, Vaibhav
2012-05-04 6:28 ` Hiremath, Vaibhav
2012-05-04 20:00 ` Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120503155717.GE5140@atomide.com \
--to=tony@atomide.com \
--cc=afzal@ti.com \
--cc=hvaibhav@ti.com \
--cc=khilman@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=paul@pwsan.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox