All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH 1/2 v2] nand: allow delayed initialization
Date: Tue, 05 Oct 2010 20:27:43 +0200	[thread overview]
Message-ID: <20101005182743.ED73E1539A0@gemini.denx.de> (raw)
In-Reply-To: <20101005113126.215b5df6@udp111988uds.am.freescale.net>

Dear Scott Wood,

In message <20101005113126.215b5df6@udp111988uds.am.freescale.net> you wrote:
> On Tue, 5 Oct 2010 04:08:12 -0400
> Mike Frysinger <vapier@gentoo.org> wrote:
> 
> > On Monday, October 04, 2010 13:36:14 Scott Wood wrote:
> > > I'm wondering if we should just make this the default behavior.  We
> > > already deferred the bad block scanning, perhaps this could replace
> > > that.
> > 
> > i would like that, but Wolfgang indicated in the past that the default 
> > behavior of detecting the nand flash & printing out its size was desirable.  
> > perhaps that stance is flexible ...
> 
> So much for "U-Boot doesn't initialize hardware that it doesn't use." :-)

U-Boot has a > 10 year long history.  In that time we learned a lesson
or two, and some things would today not be accepted any more that once
seemed to be pretty innocent or even a clever thing.

I think the delayed initialization of NAND (or should we rather call
it "on demand initialization" ?) is indeed a good thing, and a
definite improvement.

If possible, I would like to see this the default setting for all new
board to be added.  Existing boards should have the option to select
this behaviour, too.

What I do not want to do (if it can be avoided) is change the default
behaviour of existing boards, i. e. I would like to leave this
decision to the respective board maintainers (in the active opt-in
sense).

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Too many people are ready to carry the stool when the piano needs  to
be moved.

  reply	other threads:[~2010-10-05 18:27 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-21 23:45 [U-Boot] [RFC PATCH 1/2] nand: allow delayed initialization Mike Frysinger
2010-09-21 23:45 ` [U-Boot] [PATCH 2/2] Blackfin: nand: support " Mike Frysinger
2010-10-02 19:47 ` [U-Boot] [RFC PATCH 1/2 v2] nand: allow " Mike Frysinger
2010-10-03 18:27   ` Wolfgang Denk
2010-10-03 20:32     ` Mike Frysinger
2010-10-03 21:40       ` Wolfgang Denk
2010-10-03 22:19         ` Mike Frysinger
2010-10-06 20:40           ` Wolfgang Denk
2010-10-07 17:00             ` Mike Frysinger
2010-10-07 19:35               ` Wolfgang Denk
2010-10-07 21:26                 ` Mike Frysinger
2010-10-08  2:00                   ` Mike Frysinger
2010-10-10  8:37                     ` Mike Frysinger
2010-10-10  9:20                       ` Wolfgang Denk
2010-10-04 17:36   ` Scott Wood
2010-10-05  8:08     ` Mike Frysinger
2010-10-05 16:31       ` Scott Wood
2010-10-05 18:27         ` Wolfgang Denk [this message]
2010-10-05 19:18           ` Scott Wood

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=20101005182743.ED73E1539A0@gemini.denx.de \
    --to=wd@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.