
11 Aug
2008
11 Aug
'08
6:09 p.m.
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)? 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.
Thanks, Darrik