
31 Oct
2008
31 Oct
'08
7:50 p.m.
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