Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67e054e9 authored by Maxim Levitsky's avatar Maxim Levitsky Committed by David Woodhouse
Browse files

mtd: nand: Add driver for Ricoh xD/SmartMedia reader



This adds a driver for Ricoh R5C852 xD card reader.

This reader is a part of larger mulifunction chip
and found at least in R5C832

Driver is complete, but bewere of the fact that some
(probably only type M) xD cards are 'fake' which means that
they have an on board CPU and expose emulated nand command set

These cards don't even store the  oob area on the flash,
but generate it on the fly from something else.

Thus they demand to have proper values written in the oob area,
and therefore only useful with SmartMedia FTL.

Signed-off-by: default avatarMaxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 7d17c02a
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -4567,6 +4567,12 @@ S: Maintained
F:	Documentation/rfkill.txt
F:	Documentation/rfkill.txt
F:	net/rfkill/
F:	net/rfkill/


RICOH SMARTMEDIA/XD DRIVER
M:	Maxim Levitsky <maximlevitsky@gmail.com>
S:	Maintained
F:	drivers/mtd/nand/r822.c
F:	drivers/mtd/nand/r822.h

RISCOM8 DRIVER
RISCOM8 DRIVER
S:	Orphan
S:	Orphan
F:	Documentation/serial/riscom8.txt
F:	Documentation/serial/riscom8.txt
+11 −0
Original line number Original line Diff line number Diff line
@@ -102,6 +102,17 @@ config MTD_NAND_OMAP_PREFETCH_DMA
config MTD_NAND_IDS
config MTD_NAND_IDS
	tristate
	tristate


config MTD_NAND_RICOH
	tristate "Ricoh xD card reader"
	default n
	select MTD_SM_COMMON
	help
	  Enable support for Ricoh R5C852 xD card reader
	  You also need to enable ether
	  NAND SSFDC (SmartMedia) read only translation layer' or new
	  expermental, readwrite
	  'SmartMedia/xD new translation layer'

config MTD_NAND_AU1550
config MTD_NAND_AU1550
	tristate "Au1550/1200 NAND support"
	tristate "Au1550/1200 NAND support"
	depends on SOC_AU1200 || SOC_AU1550
	depends on SOC_AU1200 || SOC_AU1550
+1 −0
Original line number Original line Diff line number Diff line
@@ -43,5 +43,6 @@ obj-$(CONFIG_MTD_NAND_NUC900) += nuc900_nand.o
obj-$(CONFIG_MTD_NAND_NOMADIK)		+= nomadik_nand.o
obj-$(CONFIG_MTD_NAND_NOMADIK)		+= nomadik_nand.o
obj-$(CONFIG_MTD_NAND_BCM_UMI)		+= bcm_umi_nand.o nand_bcm_umi.o
obj-$(CONFIG_MTD_NAND_BCM_UMI)		+= bcm_umi_nand.o nand_bcm_umi.o
obj-$(CONFIG_MTD_NAND_MPC5121_NFC)	+= mpc5121_nfc.o
obj-$(CONFIG_MTD_NAND_MPC5121_NFC)	+= mpc5121_nfc.o
obj-$(CONFIG_MTD_NAND_RICOH)		+= r852.o


nand-objs := nand_base.o nand_bbt.o
nand-objs := nand_base.o nand_bbt.o