public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] nand/mpc512x: Add MPC512x NAND support (NFC)
Date: Mon, 8 Jun 2009 20:24:25 +0200	[thread overview]
Message-ID: <200906082024.25415.sr@denx.de> (raw)
In-Reply-To: <20090608180821.D3A46832E416@gemini.denx.de>

On Monday 08 June 2009 20:08:21 Wolfgang Denk wrote:
> > > I do not see ADS5121 support in posted driver code. ADS5121 board
> > > controls NAND chip selects via external CPLD and do not use controller
> > > chip select signals. Linux driver has workaround for this special case.
> >
> > Yes, I know. I explicitly removed this code because of two reasons:
>
> Argh. That's a really stupid thing to do.

Did you actually see the code? Did you see the board specific code added to 
the "common" NFC driver code? This is not really something I like to see in 
common drivers. And such code usually get's a NAK from you as well.

> > a) My basic testing platform was the esd mecp5123 board.
> >
> > b) I did some quick tests on the MCP5121ADS with this code (without
> >    this ADS specific chip-select handling) and didn't see any error.
> >
> > So I suggest to add the code as is for now. Such board specific routines
> > can be added later on when really needed.
>
> Nope. If the original version of the code contained this support, it
> makes no sense to me to actively remove it now and add additional
> effort later to re-add it.

As stated above this ADS addition is not a "clean" one. So there is effort 
necessary to make it acceptable. And as I also stated the driver works without 
this code just fine and the ADS. At least my tests didn't show any problems.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2009-06-08 18:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-08  7:51 [U-Boot] [PATCH] nand/mpc512x: Add MPC512x NAND support (NFC) Stefan Roese
2009-06-08 10:41 ` Wolfgang Denk
2009-06-08 16:51   ` Stefan Roese
2009-06-08 10:54 ` Piotr Zięcik
2009-06-08 17:00   ` Stefan Roese
2009-06-08 18:08     ` Wolfgang Denk
2009-06-08 18:24       ` Stefan Roese [this message]
2009-06-08 19:09         ` John Rigby
2009-06-09  7:28           ` Stefan Roese
2009-06-08 19:46         ` Wolfgang Denk
2009-06-09  7:31           ` Stefan Roese
2009-06-09  8:46             ` Wolfgang Denk
2009-06-09  9:01               ` Stefan Roese

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=200906082024.25415.sr@denx.de \
    --to=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /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