Major upate of JFFS2 code; now in sync with snapshot of MTD CVS of
[oweals/u-boot.git] / include / configs / NC650.h
index 3c976bb415ef1dee4e23da03a9fab01ddf0910bf..3acdd77fecc72319d9f5b8f10d435df9cd68fd2f 100644 (file)
                                CFG_CMD_DHCP    | \
                                CFG_CMD_I2C     | \
                                CFG_CMD_NAND    | \
+                               CFG_CMD_JFFS2   | \
                                CFG_CMD_NFS     | \
                                CFG_CMD_SNTP    )
 
 #define        BOOTFLAG_COLD   0x01            /* Normal Power-On: Boot from FLASH     */
 #define BOOTFLAG_WARM  0x02            /* Software reboot                      */
 
+#define CONFIG_JFFS2_NAND 1                    /* jffs2 on nand support */
+#define CONFIG_JFFS2_NAND_DEV 0                        /* nand device jffs2 lives on */
+#define CONFIG_JFFS2_NAND_OFF 0                        /* start of jffs2 partition */
+#define CONFIG_JFFS2_NAND_SIZE 4*1024*1024     /* size of jffs2 partition */
+#define NAND_CACHE_PAGES 16                    /* size of nand cache in 512 bytes pages */
 
 #endif /* __CONFIG_H */