[U-Boot] onenand and nand together

Scott Wood scottwood at freescale.com
Fri Oct 31 19:50:25 CET 2008


On Thu, Oct 30, 2008 at 08:55:22AM +0100, Alessandro Rubini wrote:
> Unfortunately, jffs2 code in head complains if both CONFIG_CMD_NAND
> and CONFIG_CMD_ONENAND are defined.
> 
> This trivial one-liner seems to fix one of the problems (although it
> introduces a warning if neither one is defined),

Patch coming that fixes it without a warning.

> but there's a bigger issue with "struct nand_bbt_descr" which is
> defined in two different places, and I see no clean solution to that.

That problem seems to come from upstream Linux.  The duplicated
definitions in nand.h should be removed, and nand.h should include bbm.h.

-Scott


More information about the U-Boot mailing list