Fix JFFS2 support for legacy NAND driver.

Some more NAND cleanup and small fixes.
38 files changed