linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Grant Likely" <grant.likely@secretlab.ca>
To: "David Jander" <david.jander@protonic.nl>,
	linuxppc-dev <linuxppc-dev@ozlabs.org>
Subject: Re: [PATCH] prtlvt board support (MPC5121e) added
Date: Wed, 11 Jun 2008 07:30:35 -0600	[thread overview]
Message-ID: <fa686aa40806110630t413aa7a2wcc3c223f306349b6@mail.gmail.com> (raw)
In-Reply-To: <200806111141.16901.david.jander@protonic.nl>

On Wed, Jun 11, 2008 at 3:41 AM, David Jander <david.jander@protonic.nl> wrote:
> On Tuesday 10 June 2008 22:37:18 you wrote:
>> Thanks for the patch, comments below.
>> > --- /dev/null
>> > +++ b/arch/powerpc/platforms/512x/prtlvt.c
>>
>> Looks like you've just duplicated mpc5121_ads.c.  You should just add
>> your boards name to the mpc5121_ads_probe function.  Bonus points if
>> you rename the .c file to something more generic.  You only need a new
>> board file if your board needs something special.
>
> Well, it looks like mpc5121_ads.c is pretty generic. The MPC5121 is almost
> a "motherboard-in-a-chip" type of SoC, so there isn't much board-specific
> stuff anywhere. IO-control register setup should be done in the boot-loader.
> What should we do about this then? Rename the whole mpc5121_ads stuff to
> something more generic? What about calling it "mpc5121_generic.c"?

mpc5121_generic.c works for me.

> Btw, you posted this to linucppc-dev mailing list, but I think that was a
> mistake, since this is clearly an embedded processor, so I removed the CC.

Nope, not a mistake.  Discussions on embedded stuff is welcome on the
linuxppc-dev mailing list.  There has been some talk of removing the
linuxppc-embedded list entirely.  I've added the list back to the to:
list.

Cheers,
g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.

      parent reply	other threads:[~2008-06-11 13:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-10 16:29 [PATCH] prtlvt board support (MPC5121e) added David Jander
2008-06-10 20:37 ` Grant Likely
     [not found]   ` <200806111141.16901.david.jander@protonic.nl>
2008-06-11 13:30     ` Grant Likely [this message]

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=fa686aa40806110630t413aa7a2wcc3c223f306349b6@mail.gmail.com \
    --to=grant.likely@secretlab.ca \
    --cc=david.jander@protonic.nl \
    --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).