Commit 89160606 authored by David Woodhouse's avatar David Woodhouse

MTD: NAND flash simulator

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.
Signed-off-by: default avatarArtem B. Bityuckiy <dedekind@yandex.ru>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 3b9a3cf9
# drivers/mtd/nand/Kconfig
# $Id: Kconfig,v 1.23 2004/11/24 19:33:56 rpurdie Exp $
# $Id: Kconfig,v 1.24 2004/11/26 12:28:22 dedekind Exp $
menu "NAND Flash Device Drivers"
depends on MTD!=n
......@@ -197,4 +197,12 @@ config MTD_NAND_DISKONCHIP_BBTWRITE
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
#
# linux/drivers/nand/Makefile
#
# $Id: Makefile.common,v 1.14 2004/11/24 19:33:56 rpurdie Exp $
# $Id: Makefile.common,v 1.15 2004/11/26 12:28:22 dedekind Exp $
obj-$(CONFIG_MTD_NAND) += nand.o nand_ecc.o
obj-$(CONFIG_MTD_NAND_IDS) += nand_ids.o
......@@ -19,5 +19,6 @@ obj-$(CONFIG_MTD_NAND_DISKONCHIP) += diskonchip.o
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
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment