mtd: doc: remove support for DoC 2000/2001/2001+
PATCH 1/2 mtd: doc: remove support for DoC 2000/2001/2001+
From: Artem Bityutskiy <[email protected]>
These drivers are deprecated for very long time, and we have a different driver for these called "diskonchip". Thus, kill the ancient cruft.
--- drivers/mtd/devices/Kconfig | 63 -- drivers/mtd/devices/Makefile | 5 - drivers/mtd/devices/doc2000.c | 1178 ------------------------------------- drivers/mtd/devices/doc2001.c | 824 -------------------------- drivers/mtd/devices/doc2001plus.c | 1080 ---------------------------------- drivers/mtd/devices/docecc.c | 521 ---------------- drivers/mtd/devices/docprobe.c | 325 ---------- 7 files changed, 3996 deletions(-) delete mode 100644 drivers/mtd/devices/doc2000.c delete mode 100644 drivers/mtd/devices/doc2001.c delete mode 100644 drivers/mtd/devices/doc2001plus.c delete mode 100644 drivers/mtd/devices/docecc.c delete mode 100644 drivers/mtd/devices/docprobe.c
drivers/mtd/devices/Kconfig +0 -63
@@ -205,69 +205,6 @@ config MTD_BLOCK2MTD comment "Disk-On-Chip Device Drivers" -config MTD_DOC2000 - tristate "M-Systems Disk-On-Chip 2000 and Millennium (DEPRECATED)" - depends on MTD_NAND - select MTD_DOCPROBE - select MTD_NAND_IDS - ---help--- - This provides an MTD device driver for the M-Systems DiskOnChip - 2000 and Millennium devices. Originally designed for the DiskOnChip - 2000, it also now includes support for the DiskOnChip Millennium. - If you have problems with this driver and the DiskOnChip Millennium, - you may wish to try the alternative Millennium driver below. To use - the alternative driver, you will need to undefine DOC_SINGLE_DRIVER - in the <file:drivers/mtd/devices/docprobe.c> source code. - - If you use this device, you probably also want to enable the NFTL - 'NAND Flash Translation Layer' option below, which is used to - emulate a block device by using a kind of file system on the flash - chips. - - NOTE: This driver is deprecated and will probably be removed soon. - Please try the new DiskOnChip driver under "NAND Flash Device - Drivers". - -config MTD_DOC2001 - tristate "M-Systems Disk-On-Chip Millennium-only alternative driver (DEPRECATED)" - depends on MTD_NAND - select MTD_DOCPROBE - select MTD_NAND_IDS - ---help--- - This provides an alternative MTD device driver for the M-Systems - DiskOnChip Millennium devices. Use this if you have problems with - the combined DiskOnChip 2000 and Millennium driver above. To get - the DiskOnChip probe code to load and use this driver instead of - the other one, you will need to undefine DOC_SINGLE_DRIVER near - the beginning of <file:drivers/mtd/devices/docprobe.c>. - - If you use this device, you probably also want to enable the NFTL - 'NAND Flash Translation Layer' option below, which is used to - emulate a block device by using a kind of file system on the flash - chips. - - NOTE: This driver is deprecated and will probably be removed soon. - Please try the new DiskOnChip driver under "NAND Flash Device - Drivers". - -config MTD_DOC2001PLUS - tristate "M-Systems Disk-On-Chip Millennium Plus" - depends on MTD_NAND - select MTD_DOCPROBE - select MTD_NAND_IDS - ---help--- - This provides an MTD device driver for the M-Systems DiskOnChip - Millennium Plus devices. - - If you use this device, you probably also want to enable the INFTL - 'Inverse NAND Flash Translation Layer' option below, which is used - to emulate a block device by using a kind of file system on the - flash chips. - - NOTE: This driver will soon be replaced by the new DiskOnChip driver - under "NAND Flash Device Drivers" (currently that driver does not - support all Millennium Plus devices). - config MTD_DOCG3 tristate "M-Systems Disk-On-Chip G3" select BCH
drivers/mtd/devices/Makefile +0 -5
@@ -2,12 +2,7 @@ # linux/drivers/mtd/devices/Makefile # -obj-$(CONFIG_MTD_DOC2000) += doc2000.o -obj-$(CONFIG_MTD_DOC2001) += doc2001.o -obj-$(CONFIG_MTD_DOC2001PLUS) += doc2001plus.o obj-$(CONFIG_MTD_DOCG3) += docg3.o -obj-$(CONFIG_MTD_DOCPROBE) += docprobe.o -obj-$(CONFIG_MTD_DOCECC) += docecc.o obj-$(CONFIG_MTD_SLRAM) += slram.o obj-$(CONFIG_MTD_PHRAM) += phram.o obj-$(CONFIG_MTD_PMC551) += pmc551.o
drivers/mtd/devices/doc2000.c deleted +0 -1178
1,178 lines not on this page · raw message
drivers/mtd/devices/doc2001.c deleted +0 -824
824 lines not on this page · raw message
drivers/mtd/devices/doc2001plus.c deleted +0 -1080
917 lines not on this page · raw message
drivers/mtd/devices/docecc.c deleted +0 -521
521 lines not on this page · raw message
drivers/mtd/devices/docprobe.c deleted +0 -325
325 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.7.10.4
Part of the diff is not shown here. View the raw message.
PATCH 2/2 mtd: remove nftl support
From: Artem Bityutskiy <[email protected]>
This is very old cruft with all the users probably dead. Newer DoC devices use inftl.
--- drivers/mtd/Kconfig | 30 -- drivers/mtd/Makefile | 2 - drivers/mtd/nftlcore.c | 829 ----------------------------------------------- drivers/mtd/nftlmount.c | 786 -------------------------------------------- 4 files changed, 1647 deletions(-) delete mode 100644 drivers/mtd/nftlcore.c delete mode 100644 drivers/mtd/nftlmount.c
drivers/mtd/Kconfig +0 -30
@@ -195,9 +195,6 @@ config MTD_BLOCK this is very unsafe, but could be useful for file systems which are almost never written to. - You do not need this option for use with the DiskOnChip devices. For - those, enable NFTL support (CONFIG_NFTL) instead. - config MTD_BLOCK_RO tristate "Readonly block device access to MTD devices" depends on MTD_BLOCK!=y && BLOCK
@@ -207,9 +204,6 @@ config MTD_BLOCK_RO from an MTD device, without the overhead (and danger) of the caching driver. - You do not need this option for use with the DiskOnChip devices. For - those, enable NFTL support (CONFIG_NFTL) instead. - config FTL tristate "FTL (Flash Translation Layer) support" depends on BLOCK
@@ -227,30 +221,6 @@ config FTL permitted to copy, modify and distribute the code as you wish. Just not use it. -config NFTL - tristate "NFTL (NAND Flash Translation Layer) support" - depends on BLOCK - select MTD_BLKDEVS - ---help--- - This provides support for the NAND Flash Translation Layer which is - used on M-Systems' DiskOnChip devices. It uses a kind of pseudo- - file system on a flash device to emulate a block device with - 512-byte sectors, on top of which you put a 'normal' file system. - - You may find that the algorithms used in this code are patented - unless you live in the Free World where software patents aren't - legal - in the USA you are only permitted to use this on DiskOnChip - hardware, although under the terms of the GPL you're obviously - permitted to copy, modify and distribute the code as you wish. Just - not use it. - -config NFTL_RW - bool "Write support for NFTL" - depends on NFTL - help - Support for writing to the NAND Flash Translation Layer, as used - on the DiskOnChip. - config INFTL tristate "INFTL (Inverse NAND Flash Translation Layer) support" depends on BLOCK
drivers/mtd/Makefile +0 -2
@@ -20,7 +20,6 @@ obj-$(CONFIG_MTD_BLKDEVS) += mtd_blkdevs.o obj-$(CONFIG_MTD_BLOCK) += mtdblock.o obj-$(CONFIG_MTD_BLOCK_RO) += mtdblock_ro.o obj-$(CONFIG_FTL) += ftl.o -obj-$(CONFIG_NFTL) += nftl.o obj-$(CONFIG_INFTL) += inftl.o obj-$(CONFIG_RFD_FTL) += rfd_ftl.o obj-$(CONFIG_SSFDC) += ssfdc.o
@@ -28,7 +27,6 @@ obj-$(CONFIG_SM_FTL) += sm_ftl.o obj-$(CONFIG_MTD_OOPS) += mtdoops.o obj-$(CONFIG_MTD_SWAP) += mtdswap.o -nftl-objs := nftlcore.o nftlmount.o inftl-objs := inftlcore.o inftlmount.o obj-y += chips/ lpddr/ maps/ devices/ nand/ onenand/ tests/
drivers/mtd/nftlcore.c deleted +0 -829
829 lines not on this page · raw message
drivers/mtd/nftlmount.c deleted +0 -786
786 lines not on this page · raw message
Signature · 1 line
1.7.10.4
Re: [PATCH 2/2] mtd: remove nftl support
Quoted 6 lines · Artem Bityutskiy
From: Artem Bityutskiy <[email protected]>
This is very old cruft with all the users probably dead. Newer DoC devices use inftl.
Signed-off-by Artem Bityutskiy <[email protected]>
Dropped this one.
Signature · 2 lines
Best Regards, Artem Bityutskiy
Re: [PATCH 2/2] mtd: remove nftl support
In reply to Artem BityutskiyQuoted 4 lines · Artem Bityutskiy
From: Artem Bityutskiy <[email protected]>
This is very old cruft with all the users probably dead. Newer DoC devices use inftl.
Actually the "newest" devices (circa 2005) use yet another incarnation called saftl. I didn't bother trying to support it in the docg4 driver. IIRC, it stands for "serial-access flash translation layer", which I think refers to the fact that pages within a block must be written in sequence.
Thanks,
Mike
Artem Bityutskiy
AppliedQuoted 6 lines · Artem Bityutskiy
From: Artem Bityutskiy <[email protected]>
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 <[email protected]>
Pushed to l2-mtd.git.
Signature · 2 lines
Best Regards, Artem Bityutskiy
Quoted 6 lines · Artem Bityutskiy
From: Artem Bityutskiy <[email protected]>
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 <[email protected]>
Hi Magnus, I am removing the ancient pre-NAND DoC drivers. Dwmw2 wanted me to check with you as well. Thanks!
http://thread.gmane.org/gmane.linux.drivers.mtd/45773
Signature · 2 lines
Best Regards, Artem Bityutskiy
Quoted 6 lines · Artem Bityutskiy
Quoted 5 lines · Artem Bityutskiy
From: Artem Bityutskiy <[email protected]>
These drivers are deprecated for very long time, and we have a different driver for these called "diskonchip". Thus, kill the ancient cruft.
Quoted 6 lines
Quoted 1 line
Signed-off-by Artem Bityutskiy <[email protected]>Hi Magnus, I am removing the ancient pre-NAND DoC drivers. Dwmw2 wanted me to check with you as well. Thanks!
Er, I suggested checking with Magnus about removing Renesas AG-AND support, because none of it ever seems to have been seen in the wild...
Signature · 1 line
dwmw2
Quoted 9 lines · David Woodhouse
Quoted 8 lines · Artem Bityutskiy
Quoted 6 lines · Artem Bityutskiy
From: Artem Bityutskiy <[email protected]>
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 <[email protected]>
Quoted 7 lines
Quoted 4 lines
Hi Magnus, I am removing the ancient pre-NAND DoC drivers. Dwmw2 wanted me to check with you as well. Thanks!
Er, I suggested checking with Magnus about removing Renesas AG-AND support, because none of it ever seems to have been seen in the wild...
Oh, sorry. Magnus, I am removing the AG-AND support. If you have comments, please, rise your voice!
Signature · 2 lines
Best Regards, Artem Bityutskiy