Skip to content

Commit efa2ca7

Browse files
rjarzmikdedekind
authored andcommitted
mtd: Add DiskOnChip G3 support
Add support for DiskOnChip G3 chips. The support is quite limited yet : - no flash writes/erases are implemented - ECC fixes are not implemented - powerdown is not implemented - IPL handling is not yet done On the brighter side, the chip reading does work. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
1 parent 86a9893 commit efa2ca7

4 files changed

Lines changed: 1424 additions & 0 deletions

File tree

‎drivers/mtd/devices/Kconfig‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,16 @@ config MTD_DOC2001PLUS
249249
under "NAND Flash Device Drivers" (currently that driver does not
250250
support all Millennium Plus devices).
251251

252+
config MTD_DOCG3
253+
tristate "M-Systems Disk-On-Chip G3"
254+
---help---
255+
This provides an MTD device driver for the M-Systems DiskOnChip
256+
G3 devices.
257+
258+
The driver provides access to G3 DiskOnChip, distributed by
259+
M-Systems and now Sandisk. The support is very experimental,
260+
and doesn't give access to any write operations.
261+
252262
config MTD_DOCPROBE
253263
tristate
254264
select MTD_DOCECC

‎drivers/mtd/devices/Makefile‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
obj-$(CONFIG_MTD_DOC2000) += doc2000.o
66
obj-$(CONFIG_MTD_DOC2001) += doc2001.o
77
obj-$(CONFIG_MTD_DOC2001PLUS) += doc2001plus.o
8+
obj-$(CONFIG_MTD_DOCG3) += docg3.o
89
obj-$(CONFIG_MTD_DOCPROBE) += docprobe.o
910
obj-$(CONFIG_MTD_DOCECC) += docecc.o
1011
obj-$(CONFIG_MTD_SLRAM) += slram.o
@@ -17,3 +18,5 @@ obj-$(CONFIG_MTD_BLOCK2MTD) += block2mtd.o
1718
obj-$(CONFIG_MTD_DATAFLASH) += mtd_dataflash.o
1819
obj-$(CONFIG_MTD_M25P80) += m25p80.o
1920
obj-$(CONFIG_MTD_SST25L) += sst25l.o
21+
22+
CFLAGS_docg3.o += -I$(src)

0 commit comments

Comments
 (0)