aboutsummaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-05-05 00:04:14 +0000
committerwdenk <wdenk>2005-05-05 00:04:14 +0000
commit07cc0999413481568b38b8d0e5f3d7514d9540b0 (patch)
tree56955f165a6a1c2647acbaaa8f5783b3b74277c9 /include/configs
parentcf8bc5773c27adf325d7bb1a90d290b213a57417 (diff)
Major upate of JFFS2 code; now in sync with snapshot of MTD CVS of
March 13, 2005); new configuration options CONFIG_JFFS2_LZO and CONFIG_JFFS2_LZARI are added. Both are undefined by default.
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/NC650.h6
-rw-r--r--include/configs/PPChameleonEVB.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/include/configs/NC650.h b/include/configs/NC650.h
index 3c976bb41..3acdd77fe 100644
--- a/include/configs/NC650.h
+++ b/include/configs/NC650.h
@@ -122,6 +122,7 @@
CFG_CMD_DHCP | \
CFG_CMD_I2C | \
CFG_CMD_NAND | \
+ CFG_CMD_JFFS2 | \
CFG_CMD_NFS | \
CFG_CMD_SNTP )
@@ -398,5 +399,10 @@
#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 */
diff --git a/include/configs/PPChameleonEVB.h b/include/configs/PPChameleonEVB.h
index 98af125cb..011abf10c 100644
--- a/include/configs/PPChameleonEVB.h
+++ b/include/configs/PPChameleonEVB.h
@@ -772,7 +772,7 @@
#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 2*1024*1024 /* size 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 */