[U-Boot] [PATCH 2/3 v2] nand: introduce CONFIG_NAND_EARLY_INIT and nand_early_init()

Ben Gardiner bengardiner at nanometrics.ca
Tue Oct 12 22:13:07 CEST 2010


On Tue, Oct 12, 2010 at 3:35 PM, Mike Frysinger <vapier at gentoo.org> wrote:
> Add new config options to allow people to control early initialization
> of NAND.  The current behavior (NAND is initialized early) is unchanged,
> but now people may choose to disable this behavior and only initialize
> NAND when it would actually be used.
>
> So that we can change the default in the future to not initialize NAND
> early on, we also introduce a CONFIG_MAYBE_NAND_EARLY_INIT option.  If
> board porters do not make a choice either way, they will get a build
> warning.  This should encourage board porters to opt in to one of the
> two choices by themselves.  After a release or two, we can then force
> the remaining boards to enable the new config option, delete the compat
> option, and have the default behavior match the standard U-Boot policy.
>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
> v2
>        - appease useless checkpatch warnings

Still working as expected with v2 of 1/3 and 2/3.

Best Regards,
Ben Gardiner

---
Nanometrics Inc.
http://www.nanometrics.ca


More information about the U-Boot mailing list