Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/staging/spectra
Greg Kroah-Hartman ea3398a1ae Staging: Merge 2.6.37-rc5 into staging-next
This was done to handle a number of conflicts in the batman-adv
and winbond drivers properly.  It also now allows us to fix up the sysfs
attributes properly that were not in the .37 release due to them being
only in this tree at the time.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-07 10:47:56 -08:00
..
ffsdefs.h
ffsport.c Staging: Merge 2.6.37-rc5 into staging-next 2010-12-07 10:47:56 -08:00
ffsport.h staging: spectra: move all init logic into nand_pci_probe 2010-11-17 13:14:14 -08:00
flash.c staging: spectra: move all init logic into nand_pci_probe 2010-11-17 13:14:14 -08:00
flash.h
Kconfig Merge 'staging-next' to Linus's tree 2010-10-28 09:44:56 -07:00
lld.c
lld.h
lld_cdma.c
lld_cdma.h
lld_emu.c staging, spectra: Remove unnecessary casts of void ptr returning alloc function return values 2010-11-09 16:45:12 -08:00
lld_emu.h
lld_mtd.c
lld_mtd.h
lld_nand.c staging: spectra: move all init logic into nand_pci_probe 2010-11-17 13:14:14 -08:00
lld_nand.h
Makefile
nand_regs.h
README
spectraswconfig.h

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>