contribution
Subsystems (2)
Hello,
We want to contribute the NAND flash simulator which we successfully use when developing JFFS2. It is very useful tool which helps to develop without real flash.
It supports several options which allow to select which flash type to emulate (just flash IDs which are in nand_ids.c file). See modinfo for other options.
The attached patch was made against the todays MTD snapshot.
Signature · 3 lines
Best Regards, Artem B. Bityuckiy, St.-Petersburg, Russia.
drivers/mtd/nand/Kconfig renamed from ../mtd-cvs/mtd-pristine/drivers/mtd/nand/Kconfig +8 -0
@@ -197,4 +197,12 @@ bool "Support for NAND Flash on Sharp SL Series (C7xx + others)" depends on MTD_NAND && ARCH_PXA + config MTD_NAND_NANDSIM + bool "Support for NAND Flash Simulator" + depends on MTD_NAND + + help + The simulator may simulate verious NAND flash chips for the + MTD nand layer. + endmenu
drivers/mtd/nand/Makefile.common renamed from ../mtd-cvs/mtd-pristine/drivers/mtd/nand/Makefile.common +1 -0
@@ -19,5 +19,6 @@ obj-$(CONFIG_MTD_NAND_H1900) += h1910.o obj-$(CONFIG_MTD_NAND_RTC_FROM4) += rtc_from4.o obj-$(CONFIG_MTD_NAND_SHARPSL) += sharpsl.o +obj-$(CONFIG_MTD_NAND_NANDSIM) += nandsim.o nand-objs = nand_base.o nand_bbt.o
drivers/mtd/nand/nandsim.c renamed from ../mtd-cvs/mtd-pristine/drivers/mtd/nand/nandsim.c +1617 -0
1,617 lines not on this page · raw message