[U-Boot] [RFC PATCH 1/2 v2] nand: allow delayed initialization

Scott Wood scottwood at freescale.com
Tue Oct 5 21:18:07 CEST 2010


On Tue, 5 Oct 2010 20:27:43 +0200
Wolfgang Denk <wd at denx.de> wrote:

> 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).

Configurability and retaining existing behavior is good, but too much of
it can leave the code a mess, especially when you get semi-redundant
alternatives such as delaying everything or delaying just the bad
block scan.  Plus things like optional informative probing might be
better triggered by a script rather than an ifdef.

I don't care that much either way, though -- if you want to keep this
one as an ifdef, it's fine with me.

-Scott



More information about the U-Boot mailing list