linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: David Jander <david.jander@protonic.nl>
To: Scott Wood <scottwood@freescale.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: [PATCH 1/2] Added support for PRTLVT based boards (MPC5121)
Date: Thu, 12 Jun 2008 08:54:27 +0200	[thread overview]
Message-ID: <200806120854.27334.david.jander@protonic.nl> (raw)
In-Reply-To: <48501248.8010104@freescale.com>

On Wednesday 11 June 2008 19:58:32 Scott Wood wrote:
> Pass -B -M -C to git-format-patch to detect renames, copies, etc.

Thanks for the hint. I am still a git-noob ;-)

>[...]
> This is an old flash binding.  Please use the one currently described in
> Documentation/booting-without-of.txt.

Thanks again, I was searching for documentation about dts, and couldn't find 
much.

> > +		//axe@2000 {
> > +		//	compatible = "mpc512x-axe";
> > +		//	reg = <2000 100>;
> > +		//	interrupts = <2a 8>;
> > +		//	interrupt-parent = < &ipic >;
> > +		//};
>
> Why is this here, but commented out?

Hmm, I know we are going to use it, but there are no drivers still...
I'll leave it out, and add it again later when axe-support has arrived.

> > +		dma2@14000 {
> > +			compatible = "fsl,mpc5121-dma2";
>
> Is this DMA controller compatible with drivers/dma/fsldma.c?  If so,
> follow the established binding.

No, it's not compatible with any other dma controller AFAIK. It special for 
this chip. John Rigby is writing the driver for it right now.

> > +config MPC5121_GENERIC
> > +	bool
> > +	default n
> > +
> >  config MPC5121_ADS
> >  	bool "Freescale MPC5121E ADS"
> >  	depends on PPC_MULTIPLATFORM && PPC32
> >  	select DEFAULT_UIMAGE
> >  	select PPC_MPC5121
> > +	select MPC5121_GENERIC
> >  	help
> >  	  This option enables support for the MPC5121E ADS board.
> >  	default n
> > +
> > +config PRTLVT
> > +	bool "Protonic LVT family of MPC5121 based boards"
> > +	depends on PPC_MULTIPLATFORM && PPC32
> > +	select DEFAULT_UIMAGE
> > +	select PPC_MPC5121
> > +	select MPC5121_GENERIC
> > +	help
> > +	  This option enables support for the Protonic LVT family (ZANMCU and
> > VICVT2). +	default n
>
> Can we leave out the "default n" lines?  They're no-ops.

Ok, I removed also several others (all of them in this file). I hope that it 
is not a problem not making this a separate patch?

> I don't think these configs should depend on an option
> (PPC_MULTIPLATFORM) that is described as "Generic desktop/server/laptop"...

I think right now they need to. That's the way someone broke...err changed 
platform selection.

We should fix that later, but I don't really know what would be the right way 
to fix this right now. I'll think about it after this...

Btw, is it ok I just re-submit the fixed patches (with cc to linuxppc-dev)?

Thanks.

Greetings,

-- 
David Jander
Protonic Holland.

  parent reply	other threads:[~2008-06-12  6:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-11  9:43 [PATCH 1/2] Added support for PRTLVT based boards (MPC5121) David Jander
2008-06-11  9:44 ` [PATCH 2/2] Re-added support for FEC on MPC5121 from Freescale LTIB David Jander
2008-06-11 18:19   ` Scott Wood
2008-06-12 10:33     ` David Jander
2008-06-12 13:29       ` Scott Wood
2008-06-12 13:57         ` Grant Likely
2008-06-17 17:33   ` John Rigby
2008-06-11 17:58 ` [PATCH 1/2] Added support for PRTLVT based boards (MPC5121) Scott Wood
2008-06-12  6:20   ` Grant Likely
2008-06-12  6:54   ` David Jander [this message]
2008-06-12 13:15     ` Scott Wood
2008-06-12  6:36 ` Grant Likely
  -- strict thread matches above, loose matches on Subject: below --
2008-06-12 11:44 David Jander
2008-06-12 14:10 ` Grant Likely
2008-06-13  4:19   ` David Gibson
2008-06-13  5:12     ` Grant Likely

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=200806120854.27334.david.jander@protonic.nl \
    --to=david.jander@protonic.nl \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=scottwood@freescale.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;
as well as URLs for NNTP newsgroup(s).