aboutsummaryrefslogtreecommitdiffstats
path: root/fs/Kconfig
diff options
context:
space:
mode:
authorAndrew Victor <andrew@sanpeople.com>2005-02-09 04:17:45 -0500
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-05-23 06:28:03 -0400
commit8f15fd55f9bf266139b10850947e19c4e3f4e9b7 (patch)
tree3df936efbffbbd6c20dd75f51780ac37458285ff /fs/Kconfig
parent3be36675d41a30ed3b192f92684f1417aa0f8bfe (diff)
[JFFS2] Add support for JFFS2-on-Dataflash devices.
For Dataflash, can_mark_obsolete = false and the NAND write buffering code (wbuf.c) is used. Since the DataFlash chip will automatically erase pages when writing, the cleanmarkers are not needed - so cleanmarker_oob = false and cleanmarker_size = 0 DataFlash page-sizes are not a power of two (they're multiples of 528 bytes). The SECTOR_ADDR macro (added in the previous core patch) is replaced with a (slower) div/mod version if CONFIG_JFFS2_FS_DATAFLASH is selected. Signed-off-by: Andrew Victor <andrew@sanpeople.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs/Kconfig')
-rw-r--r--fs/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/Kconfig b/fs/Kconfig
index 6a4ad4bb7a54..07835d24c785 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -1084,6 +1084,13 @@ config JFFS2_FS_NOR_ECC
1084 ECC for JFFS2. This type of flash chip is not common, however it is 1084 ECC for JFFS2. This type of flash chip is not common, however it is
1085 available from ST Microelectronics. 1085 available from ST Microelectronics.
1086 1086
1087config JFFS2_FS_DATAFLASH
1088 bool "JFFS2 support for DataFlash (EXPERIMENTAL)"
1089 depends on JFFS2_FS && EXPERIMENTAL
1090 default n
1091 help
1092 This enables the experimental support for JFFS2 on DataFlash devices.
1093
1087config JFFS2_COMPRESSION_OPTIONS 1094config JFFS2_COMPRESSION_OPTIONS
1088 bool "Advanced compression options for JFFS2" 1095 bool "Advanced compression options for JFFS2"
1089 depends on JFFS2_FS 1096 depends on JFFS2_FS