Skip to content

Commit

Permalink
mtd: Add DiskOnChip G3 support
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
rjarzmik authored and dedekind committed Oct 14, 2011
1 parent 86a9893 commit efa2ca7
Show file tree
Hide file tree
Showing 4 changed files with 1,424 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/mtd/devices/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,16 @@ config MTD_DOC2001PLUS
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"
---help---
This provides an MTD device driver for the M-Systems DiskOnChip
G3 devices.

The driver provides access to G3 DiskOnChip, distributed by
M-Systems and now Sandisk. The support is very experimental,
and doesn't give access to any write operations.

config MTD_DOCPROBE
tristate
select MTD_DOCECC
Expand Down
3 changes: 3 additions & 0 deletions drivers/mtd/devices/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
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
Expand All @@ -17,3 +18,5 @@ obj-$(CONFIG_MTD_BLOCK2MTD) += block2mtd.o
obj-$(CONFIG_MTD_DATAFLASH) += mtd_dataflash.o
obj-$(CONFIG_MTD_M25P80) += m25p80.o
obj-$(CONFIG_MTD_SST25L) += sst25l.o

CFLAGS_docg3.o += -I$(src)
Loading

0 comments on commit efa2ca7

Please sign in to comment.