Skip to content

Commit b5a6c30

Browse files
dedekindDavid Woodhouse
authored andcommitted
mtd: doc: remove support for DoC 2000/2001/2001+
These drivers are deprecated for very long time, and we have a different driver for these called "diskonchip". Thus, kill the ancient cruft. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
1 parent 8e12b47 commit b5a6c30

File tree

7 files changed

+0
-3996
lines changed

7 files changed

+0
-3996
lines changed

drivers/mtd/devices/Kconfig

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -205,69 +205,6 @@ config MTD_BLOCK2MTD
205205

206206
comment "Disk-On-Chip Device Drivers"
207207

208-
config MTD_DOC2000
209-
tristate "M-Systems Disk-On-Chip 2000 and Millennium (DEPRECATED)"
210-
depends on MTD_NAND
211-
select MTD_DOCPROBE
212-
select MTD_NAND_IDS
213-
---help---
214-
This provides an MTD device driver for the M-Systems DiskOnChip
215-
2000 and Millennium devices. Originally designed for the DiskOnChip
216-
2000, it also now includes support for the DiskOnChip Millennium.
217-
If you have problems with this driver and the DiskOnChip Millennium,
218-
you may wish to try the alternative Millennium driver below. To use
219-
the alternative driver, you will need to undefine DOC_SINGLE_DRIVER
220-
in the <file:drivers/mtd/devices/docprobe.c> source code.
221-
222-
If you use this device, you probably also want to enable the NFTL
223-
'NAND Flash Translation Layer' option below, which is used to
224-
emulate a block device by using a kind of file system on the flash
225-
chips.
226-
227-
NOTE: This driver is deprecated and will probably be removed soon.
228-
Please try the new DiskOnChip driver under "NAND Flash Device
229-
Drivers".
230-
231-
config MTD_DOC2001
232-
tristate "M-Systems Disk-On-Chip Millennium-only alternative driver (DEPRECATED)"
233-
depends on MTD_NAND
234-
select MTD_DOCPROBE
235-
select MTD_NAND_IDS
236-
---help---
237-
This provides an alternative MTD device driver for the M-Systems
238-
DiskOnChip Millennium devices. Use this if you have problems with
239-
the combined DiskOnChip 2000 and Millennium driver above. To get
240-
the DiskOnChip probe code to load and use this driver instead of
241-
the other one, you will need to undefine DOC_SINGLE_DRIVER near
242-
the beginning of <file:drivers/mtd/devices/docprobe.c>.
243-
244-
If you use this device, you probably also want to enable the NFTL
245-
'NAND Flash Translation Layer' option below, which is used to
246-
emulate a block device by using a kind of file system on the flash
247-
chips.
248-
249-
NOTE: This driver is deprecated and will probably be removed soon.
250-
Please try the new DiskOnChip driver under "NAND Flash Device
251-
Drivers".
252-
253-
config MTD_DOC2001PLUS
254-
tristate "M-Systems Disk-On-Chip Millennium Plus"
255-
depends on MTD_NAND
256-
select MTD_DOCPROBE
257-
select MTD_NAND_IDS
258-
---help---
259-
This provides an MTD device driver for the M-Systems DiskOnChip
260-
Millennium Plus devices.
261-
262-
If you use this device, you probably also want to enable the INFTL
263-
'Inverse NAND Flash Translation Layer' option below, which is used
264-
to emulate a block device by using a kind of file system on the
265-
flash chips.
266-
267-
NOTE: This driver will soon be replaced by the new DiskOnChip driver
268-
under "NAND Flash Device Drivers" (currently that driver does not
269-
support all Millennium Plus devices).
270-
271208
config MTD_DOCG3
272209
tristate "M-Systems Disk-On-Chip G3"
273210
select BCH

drivers/mtd/devices/Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@
22
# linux/drivers/mtd/devices/Makefile
33
#
44

5-
obj-$(CONFIG_MTD_DOC2000) += doc2000.o
6-
obj-$(CONFIG_MTD_DOC2001) += doc2001.o
7-
obj-$(CONFIG_MTD_DOC2001PLUS) += doc2001plus.o
85
obj-$(CONFIG_MTD_DOCG3) += docg3.o
9-
obj-$(CONFIG_MTD_DOCPROBE) += docprobe.o
10-
obj-$(CONFIG_MTD_DOCECC) += docecc.o
116
obj-$(CONFIG_MTD_SLRAM) += slram.o
127
obj-$(CONFIG_MTD_PHRAM) += phram.o
138
obj-$(CONFIG_MTD_PMC551) += pmc551.o

0 commit comments

Comments
 (0)