2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 21:54:06 +08:00
linux-next/drivers/staging/spectra
Greg Kroah-Hartman e4c5bf8e3d Merge 'staging-next' to Linus's tree
This merges the staging-next tree to Linus's tree and resolves
some conflicts that were present due to changes in other trees that were
affected by files here.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-28 09:44:56 -07:00
..
ffsdefs.h
ffsport.c block: autoconvert trivial BKL users to private mutex 2010-10-05 15:01:10 +02:00
ffsport.h
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 Merge 'staging-next' to Linus's tree 2010-10-28 09:44:56 -07:00
lld_cdma.c
lld_cdma.h
lld_emu.c staging: spectra: remove duplicated includes 2010-10-05 11:42:20 -07:00
lld_emu.h
lld_mtd.c staging: spectra: remove duplicated includes 2010-10-05 11:42:20 -07:00
lld_mtd.h
lld_nand.c staging: spectra: call disable_pci_device() if pci_probe() failed 2010-08-31 14:48:08 -07:00
lld_nand.h
lld.c
lld.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>