[U-Boot] [PATCH 2/4] Support run-time disabling of NAND and OneNAND memories.

Wolfgang Denk wd at denx.de
Tue May 26 23:06:23 CEST 2009


Dear Josh Karabin,

In message <6fef2a52802b16a737007f722b084fda737664f8.1243367498.git.gkarabi n at vocollect.com> you wrote:
> Add "disable" functions that will prevent the initialization
> function of nand and onenand interfaces from completing.
> 
> These functions are intended to be called on boards that can
> be populated with one of multiple persistent memory types.
> Board initialization code must ensure that only the correct
> memory type is used by called the disable function(s) of
> memory types that are supported at run time, but aren't
> present on the board.

I don't like to have yet another implementation of runtime hardware
configuration.

My recommendation would be to use a device tree to configure U-Boot to
your needs.

If you don't want to go that far yet, then please use the mechanisms
we discussed previously, i. e. please see thread "Add simple hwconfig
infrastructure" at
http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/58771/focus=58774


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
It's not an optical illusion, it just looks like one.   -- Phil White


More information about the U-Boot mailing list