[U-Boot] NAND auto-width detection and usage
Scott Wood
scottwood at freescale.com
Mon Aug 11 21:03:02 CEST 2008
On Mon, Aug 11, 2008 at 11:09:45AM -0500, Darrik Spaude wrote:
> I have noticed that u-boot 1.3.3 (and older) compare the detected NAND
> bus width with how u-boot was compiled (CFG_NAND_DBW_16 defined or
> undefined) and if they do not match then the NAND is ignored. Is there a
> reason for detecting and comparing to the build specification or is it
> possible to detect the NAND bus width and then address it as detected
> (like on-the-fly bus configuration rather than a "hard" configuration)?
It was probably just simpler that way.
> I noticed that the Linux kernel appears to work the same way. It would
> be nice to be able to just drop in a x16 or x8 NAND on boards that
> support both and not have to have multiple versions of u-boot and the
> Linux kernel.
Patches welcome. :-)
-Scott
More information about the U-Boot
mailing list