From: Roland Dreier <rdreier@cisco.com>
To: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Cc: linuxppc-dev@ozlabs.org, Arnd@ozlabs.org, Bergmann <arnd@arndb.de>
Subject: Re: [PATCH 1/9] powerpc/44x: Add PowerPC 44x simple platform support
Date: Wed, 20 Aug 2008 14:15:02 -0700 [thread overview]
Message-ID: <aday72ro0bt.fsf@cisco.com> (raw)
In-Reply-To: <20080820133500.1b15fb0a@zod.rchland.ibm.com> (Josh Boyer's message of "Wed, 20 Aug 2008 13:35:00 -0400")
> > Yeah, I wasn't clear -- I meant to add a new helper like
> > of_flat_dt_is_compatible_list() (not sure of the name) that takes a node
> > and a NULL-terminated array of strings, and then mpc5200_simple_probe()
> > can become a one-liner, along with mpc5121_generic_probe(),
> > tqm85xx_probe(), ppc44x_probe(), etc.
> I worry about doing that though. I don't want to give people the
> impression that these boards are "of" compatible. I want it to be more
> "this file supports these explicit platforms and makes no claim on
> compatibility between them".
It's no big deal really -- just my knee-jerk reaction to seeing a
comment like "this should also be fixed in some other place because I
copied the code from there." My reaction to that is always, "why not
use one common copy of the code then?"
You could call it something like of_flat_dt_match_list() if that makes
more sense to you. Or just copy the for loop around, it's not much code.
- R.
next prev parent reply other threads:[~2008-08-20 21:15 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-19 15:36 [PATCH 0/9] Rework PowerPC 44x board support Josh Boyer
2008-08-19 15:25 ` [PATCH 1/9] powerpc/44x: Add PowerPC 44x simple platform support Josh Boyer
2008-08-20 13:33 ` Arnd Bergmann
2008-08-20 14:03 ` Josh Boyer
2008-08-20 14:15 ` Grant Likely
2008-08-20 14:45 ` Josh Boyer
2008-08-20 15:19 ` Josh Boyer
2008-08-20 16:33 ` Roland Dreier
2008-08-20 17:11 ` Josh Boyer
2008-08-20 17:19 ` Roland Dreier
2008-08-20 17:35 ` Josh Boyer
2008-08-20 21:15 ` Roland Dreier [this message]
2008-08-19 15:26 ` [PATCH 2/9] powerpc/44x: Migrate Bamboo support to ppc44x_simple Josh Boyer
2008-08-19 15:26 ` [PATCH 3/9] powerpc/44x: Migrate Canyonlands " Josh Boyer
2008-08-19 15:26 ` [PATCH 4/9] powerpc/44x: Migrate Katmai " Josh Boyer
2008-08-19 15:26 ` [PATCH 5/9] powerpc/44x: Migrate Rainier " Josh Boyer
2008-08-19 15:26 ` [PATCH 6/9] powerpc/44x: Migrate Sequoia " Josh Boyer
2008-08-19 15:26 ` [PATCH 7/9] powerpc/44x: Migrate Taishan " Josh Boyer
2008-08-19 15:27 ` [PATCH 8/9] powerpc/44x: Add explicit support for AMCC Glacier Josh Boyer
2008-08-19 15:27 ` [PATCH 9/9] powerpc/44x: Add explicit Yosemite support Josh Boyer
2008-08-19 18:26 ` [PATCH 0/9] Rework PowerPC 44x board support Stefan Roese
2008-08-19 18:45 ` Josh Boyer
2008-08-20 16:54 ` prodyut hazarika
2008-08-20 17:09 ` Josh Boyer
2008-08-20 16:51 ` Valentine Barshak
2008-08-20 17:08 ` Josh Boyer
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=aday72ro0bt.fsf@cisco.com \
--to=rdreier@cisco.com \
--cc=Arnd@ozlabs.org \
--cc=arnd@arndb.de \
--cc=jwboyer@linux.vnet.ibm.com \
--cc=linuxppc-dev@ozlabs.org \
/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;
as well as URLs for NNTP newsgroup(s).