Support for NAND Flash Simulator

modulename: nandsim.ko

configname: CONFIG_MTD_NAND_NANDSIM

Linux Kernel Configuration
└─>Device Drivers
└─>Memory Technology Device (MTD) support
└─>NAND
└─>Raw/Parallel NAND Device Support
└─>Support for NAND Flash Simulator
In linux kernel since version 2.6.20 (release Date: 2007-02-04)  
The simulator may simulate various NAND flash chips for the
MTD nand layer.

source code: