kernel-fxtec-pro1x/drivers/staging/spectra
Vasiliy Kulikov 340362abb9 staging: spectra: off by one
g_pBlockTable has only DeviceInfo.wDataBlockNum elements.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-20 17:03:41 -07:00
..
ffsdefs.h spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
ffsport.c Staging: spectra: remove duplicate GLOB_VERSION definition 2010-08-23 18:15:34 -07:00
ffsport.h spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
flash.c staging: spectra: off by one 2010-09-20 17:03:41 -07:00
flash.h staging/trivial: fix typos concerning "management" 2010-09-04 21:23:26 -07:00
Kconfig staging: spectra: Kconfig: add missing '.' 2010-09-04 21:28:18 -07:00
lld.c spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
lld.h spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
lld_cdma.c spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
lld_cdma.h spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
lld_emu.c spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
lld_emu.h spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
lld_mtd.c spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
lld_mtd.h spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
lld_nand.c staging: spectra: call disable_pci_device() if pci_probe() failed 2010-08-31 14:48:08 -07:00
lld_nand.h spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
Makefile spectra: Rename config options 2010-06-08 18:28:24 +01:00
nand_regs.h spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
README spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
spectraswconfig.h spectra: Rename config options 2010-06-08 18:28:24 +01:00

This is a driver for NAND controller of Intel Moorestown platform.

This driver is a standalone linux block device driver, it acts as if it's a normal hard disk.
It includes three layer:
	block layer interface - file ffsport.c
	Flash Translation Layer (FTL) - file flash.c (implement the NAND flash Translation Layer, includs address mapping, garbage collection, wear-leveling and so on)
	Low level layer - file lld_nand.c/lld_cdma.c/lld_emu.c (which implements actual controller hardware registers access)

This driver can be build as modules or build-in.

Dependency:
This driver has dependency on IA Firmware of Intel Moorestown platform.
It need the IA Firmware to create the block table for the first time.
And to validate this driver code without IA Firmware, you can change the
macro AUTO_FORMAT_FLASH from 0 to 1 in file spectraswconfig.h. Thus the
driver will erase the whole nand flash and create a new block table.

TODO:
	- Enable Command DMA feature support
	- lower the memory footprint
	- Remove most of the unnecessary global variables
	- Change all the upcase variable / functions name to lowercase
	- Some other misc bugs

Please send patches to:
	Greg Kroah-Hartman <gregkh@suse.de>

And Cc to: Gao Yunpeng <yunpeng.gao@intel.com>