diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-10 16:45:22 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-10 16:45:22 -0500 |
commit | 7b3480f8b701170c046e1ed362946f5f0d005e13 (patch) | |
tree | bd25e05b4f35699689b485480dddf24f840f80af /drivers/mtd/devices/Kconfig | |
parent | 1c8106528aa6bf16b3f457de80df1cf7462a49a4 (diff) | |
parent | b60ef99c1164a8ad346cf41f9e71acfffb6d25a6 (diff) |
Merge tag 'for-linus-3.3' of git://git.infradead.org/mtd-2.6
MTD pull for 3.3
* tag 'for-linus-3.3' of git://git.infradead.org/mtd-2.6: (113 commits)
mtd: Fix dependency for MTD_DOC200x
mtd: do not use mtd->block_markbad directly
logfs: do not use 'mtd->block_isbad' directly
mtd: introduce mtd_can_have_bb helper
mtd: do not use mtd->suspend and mtd->resume directly
mtd: do not use mtd->lock, unlock and is_locked directly
mtd: do not use mtd->sync directly
mtd: harmonize mtd_writev usage
mtd: do not use mtd->lock_user_prot_reg directly
mtd: mtd->write_user_prot_reg directly
mtd: do not use mtd->read_*_prot_reg directly
mtd: do not use mtd->get_*_prot_info directly
mtd: do not use mtd->read_oob directly
mtd: mtdoops: do not use mtd->panic_write directly
romfs: do not use mtd->get_unmapped_area directly
mtd: do not use mtd->get_unmapped_area directly
mtd: do use mtd->point directly
mtd: introduce mtd_has_oob helper
mtd: mtdcore: export symbols cleanup
mtd: clean-up the default_mtd_writev function
...
Fix up trivial edit/remove conflict in drivers/staging/spectra/lld_mtd.c
Diffstat (limited to 'drivers/mtd/devices/Kconfig')
-rw-r--r-- | drivers/mtd/devices/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/mtd/devices/Kconfig b/drivers/mtd/devices/Kconfig index 283d887f7825..37b05c3f2792 100644 --- a/drivers/mtd/devices/Kconfig +++ b/drivers/mtd/devices/Kconfig | |||
@@ -191,6 +191,7 @@ comment "Disk-On-Chip Device Drivers" | |||
191 | 191 | ||
192 | config MTD_DOC2000 | 192 | config MTD_DOC2000 |
193 | tristate "M-Systems Disk-On-Chip 2000 and Millennium (DEPRECATED)" | 193 | tristate "M-Systems Disk-On-Chip 2000 and Millennium (DEPRECATED)" |
194 | depends on MTD_NAND | ||
194 | select MTD_DOCPROBE | 195 | select MTD_DOCPROBE |
195 | select MTD_NAND_IDS | 196 | select MTD_NAND_IDS |
196 | ---help--- | 197 | ---help--- |
@@ -213,6 +214,7 @@ config MTD_DOC2000 | |||
213 | 214 | ||
214 | config MTD_DOC2001 | 215 | config MTD_DOC2001 |
215 | tristate "M-Systems Disk-On-Chip Millennium-only alternative driver (DEPRECATED)" | 216 | tristate "M-Systems Disk-On-Chip Millennium-only alternative driver (DEPRECATED)" |
217 | depends on MTD_NAND | ||
216 | select MTD_DOCPROBE | 218 | select MTD_DOCPROBE |
217 | select MTD_NAND_IDS | 219 | select MTD_NAND_IDS |
218 | ---help--- | 220 | ---help--- |
@@ -234,6 +236,7 @@ config MTD_DOC2001 | |||
234 | 236 | ||
235 | config MTD_DOC2001PLUS | 237 | config MTD_DOC2001PLUS |
236 | tristate "M-Systems Disk-On-Chip Millennium Plus" | 238 | tristate "M-Systems Disk-On-Chip Millennium Plus" |
239 | depends on MTD_NAND | ||
237 | select MTD_DOCPROBE | 240 | select MTD_DOCPROBE |
238 | select MTD_NAND_IDS | 241 | select MTD_NAND_IDS |
239 | ---help--- | 242 | ---help--- |
@@ -251,6 +254,8 @@ config MTD_DOC2001PLUS | |||
251 | 254 | ||
252 | config MTD_DOCG3 | 255 | config MTD_DOCG3 |
253 | tristate "M-Systems Disk-On-Chip G3" | 256 | tristate "M-Systems Disk-On-Chip G3" |
257 | select BCH | ||
258 | select BCH_CONST_PARAMS | ||
254 | ---help--- | 259 | ---help--- |
255 | This provides an MTD device driver for the M-Systems DiskOnChip | 260 | This provides an MTD device driver for the M-Systems DiskOnChip |
256 | G3 devices. | 261 | G3 devices. |
@@ -259,6 +264,13 @@ config MTD_DOCG3 | |||
259 | M-Systems and now Sandisk. The support is very experimental, | 264 | M-Systems and now Sandisk. The support is very experimental, |
260 | and doesn't give access to any write operations. | 265 | and doesn't give access to any write operations. |
261 | 266 | ||
267 | if MTD_DOCG3 | ||
268 | config BCH_CONST_M | ||
269 | default 14 | ||
270 | config BCH_CONST_T | ||
271 | default 4 | ||
272 | endif | ||
273 | |||
262 | config MTD_DOCPROBE | 274 | config MTD_DOCPROBE |
263 | tristate | 275 | tristate |
264 | select MTD_DOCECC | 276 | select MTD_DOCECC |