[U-Boot] [RFC PATCH 1/2 v2] nand: allow delayed initialization
Wolfgang Denk
wd at denx.de
Tue Oct 5 20:27:43 CEST 2010
Dear Scott Wood,
In message <20101005113126.215b5df6 at udp111988uds.am.freescale.net> you wrote:
> On Tue, 5 Oct 2010 04:08:12 -0400
> Mike Frysinger <vapier at 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.
More information about the U-Boot
mailing list