Fix JFFS2 support for legacy NAND driver.

Some more NAND cleanup and small fixes.
diff --git a/Makefile b/Makefile
index af0c25a..9b93463 100644
--- a/Makefile
+++ b/Makefile
@@ -133,6 +133,8 @@
 LIBS += rtc/librtc.a
 LIBS += dtt/libdtt.a
 LIBS += drivers/libdrivers.a
+LIBS += drivers/nand/libnand.a
+LIBS += drivers/nand_legacy/libnand_legacy.a
 LIBS += drivers/sk98lin/libsk98lin.a
 LIBS += post/libpost.a post/cpu/libcpu.a
 LIBS += common/libcommon.a