aboutsummaryrefslogtreecommitdiffstats
path: root/fs/Kconfig
diff options
context:
space:
mode:
authorAndrew Victor <andrew@sanpeople.com>2005-02-09 04:24:26 -0500
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-05-23 06:29:43 -0400
commit2f82ce1eb637c06dfc60f095cd1891ae0ba4894c (patch)
tree425727d05f70fdd55d5cf715c7acbeca6aeeeb18 /fs/Kconfig
parent8f15fd55f9bf266139b10850947e19c4e3f4e9b7 (diff)
[JFFS2] Use a single config option for write buffer support
This patch replaces the current CONFIG_JFFS2_FS_NAND, CONFIG_JFFS2_FS_NOR_ECC and CONFIG_JFFS2_FS_DATAFLASH with a single configuration option - CONFIG_JFFS2_FS_WRITEBUFFER. The only functional change of this patch is that the slower div/mod calculations for SECTOR_ADDR(), PAGE_DIV() and PAGE_MOD() are now always used when CONFIG_JFFS2_FS_WRITEBUFFER is enabled. 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/Kconfig33
1 files changed, 9 insertions, 24 deletions
diff --git a/fs/Kconfig b/fs/Kconfig
index 07835d24c78..475769c25d6 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -1063,33 +1063,18 @@ config JFFS2_FS_DEBUG
1063 If reporting bugs, please try to have available a full dump of the 1063 If reporting bugs, please try to have available a full dump of the
1064 messages at debug level 1 while the misbehaviour was occurring. 1064 messages at debug level 1 while the misbehaviour was occurring.
1065 1065
1066config JFFS2_FS_NAND 1066config JFFS2_FS_WRITEBUFFER
1067 bool "JFFS2 support for NAND flash" 1067 bool "JFFS2 write-buffering support"
1068 depends on JFFS2_FS 1068 depends on JFFS2_FS
1069 default n 1069 default y
1070 help 1070 help
1071 This enables the support for NAND flash in JFFS2. NAND is a newer 1071 This enables the write-buffering support in JFFS2.
1072 type of flash chip design than the traditional NOR flash, with
1073 higher density but a handful of characteristics which make it more
1074 interesting for the file system to use.
1075 1072
1076 Say 'N' unless you have NAND flash. 1073 This functionality is required to support JFFS2 on the following
1077 1074 types of flash devices:
1078config JFFS2_FS_NOR_ECC 1075 - NAND flash
1079 bool "JFFS2 support for ECC'd NOR flash (EXPERIMENTAL)" 1076 - NOR flash with transparent ECC
1080 depends on JFFS2_FS && EXPERIMENTAL 1077 - DataFlash
1081 default n
1082 help
1083 This enables the experimental support for NOR flash with transparent
1084 ECC for JFFS2. This type of flash chip is not common, however it is
1085 available from ST Microelectronics.
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 1078
1094config JFFS2_COMPRESSION_OPTIONS 1079config JFFS2_COMPRESSION_OPTIONS
1095 bool "Advanced compression options for JFFS2" 1080 bool "Advanced compression options for JFFS2"