kernel-ark/drivers/mtd/nand
Jan Weitzel a80f1c1f6a mtd: omap2: mtd split nand_scan in ident and tail
nand_scan calls nand_scan_tail and here we got a ecc.layout and calculate
oobavail for this layout. After calling nand_scan, we change the layout pointer
if OMAP_ECC_HAMMING_CODE_HW_ROMCODE is set. This results in not calcluated
oobavail. Mountig as jffs2 is not possible.

To fix that nand_scan has to split up in nand_scan_ident and nand_scan_tail
setting ecc.layout between these calls. So nand_scan_tail calculates oobvail
for the used layout. This is also done in serveral other platforms.

Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
Reviewed-by: Vimal Singh <vimal.newwork@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2011-05-25 01:54:39 +01:00
..
alauda.c
ams-delta.c Fix common misspellings 2011-03-31 11:26:23 -03:00
atmel_nand_ecc.h
atmel_nand.c mtd: atmel_nand: add missing include of linux/dmaengine.h 2011-05-25 01:53:27 +01:00
au1550nd.c
autcpu12.c Fix common misspellings 2011-03-31 11:26:23 -03:00
bcm_umi_bch.c
bcm_umi_nand.c
bf5xx_nand.c mtd: Blackfin NFC: fix badblock location with BootROM OOB 2010-10-25 01:15:22 +01:00
cafe_nand.c Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
cmx270_nand.c
cs553x_nand.c Fix common misspellings 2011-03-31 11:26:23 -03:00
davinci_nand.c mtd: DaVinci: Removed header file that is not required 2011-03-11 14:23:36 +00:00
denali.c mtd: denali: drop __TIME__ usage 2011-05-25 01:50:20 +01:00
denali.h nand/denali: use dev_xx debug function to replace nand_dbg_print and some printk 2010-08-11 00:28:40 +01:00
diskonchip.c Revert wrong fixes for common misspellings 2011-04-26 23:31:11 -07:00
edb7312.c
fsl_elbc_nand.c Fix common misspellings 2011-03-31 11:26:23 -03:00
fsl_upm.c dt: Eliminate of_platform_{,un}register_driver 2011-02-28 13:22:46 -07:00
fsmc_nand.c Fix common misspellings 2011-03-31 11:26:23 -03:00
gpio.c
h1910.c
jz4740_nand.c mtd: NAND: jz4740: Remove custom {read,write}_page handlers 2010-12-03 16:29:45 +00:00
Kconfig Fix common misspellings 2011-03-31 11:26:23 -03:00
Makefile mtd: nand: add software BCH ECC support 2011-03-11 17:49:08 +00:00
mpc5121_nfc.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into for-linus-1 2011-03-25 17:41:20 +02:00
mxc_nand.c mtd: mxc_nand: add support for multiple chips on V21 devices 2011-05-25 01:47:08 +01:00
nand_base.c mtd: nand: remove doubled chip deselection on (un)lock 2011-05-25 01:53:22 +01:00
nand_bbt.c mtd: nand: dynamic allocation of flash-based BBT structs 2011-05-25 01:50:14 +01:00
nand_bch.c mtd: nand: add software BCH ECC support 2011-03-11 17:49:08 +00:00
nand_bcm_umi.c
nand_bcm_umi.h
nand_ecc.c
nand_ids.c mtd: nand: support new Toshiba SLC 2010-10-24 23:38:30 +01:00
nandsim.c Fix common misspellings 2011-03-31 11:26:23 -03:00
ndfc.c dt: Eliminate of_platform_{,un}register_driver 2011-02-28 13:22:46 -07:00
nomadik_nand.c Fix common misspellings 2011-03-31 11:26:23 -03:00
nuc900_nand.c
omap2.c mtd: omap2: mtd split nand_scan in ident and tail 2011-05-25 01:54:39 +01:00
orion_nand.c
pasemi_nand.c Fix common misspellings 2011-03-31 11:26:23 -03:00
plat_nand.c Fix common misspellings 2011-03-31 11:26:23 -03:00
ppchameleonevb.c
pxa3xx_nand.c Fix common misspellings 2011-03-31 11:26:23 -03:00
r852.c Fix common misspellings 2011-03-31 11:26:23 -03:00
r852.h mtd: r852: remove useless pci powerup/down from suspend/resume routines 2010-10-25 01:32:21 +01:00
rtc_from4.c
s3c2410.c mtd: nand: fix S3C NAND clock stop 2011-05-25 01:53:10 +01:00
sh_flctl.c Fix common misspellings 2011-03-31 11:26:23 -03:00
sharpsl.c
sm_common.c Fix common misspellings 2011-03-31 11:26:23 -03:00
sm_common.h
socrates_nand.c dt: Eliminate of_platform_{,un}register_driver 2011-02-28 13:22:46 -07:00
spia.c
tmio_nand.c Fix common misspellings 2011-03-31 11:26:23 -03:00
txx9ndfmc.c mtd: txx9ndfmc: limit transfer bytes to 512 (ECC provides 6 bytes max) 2011-01-06 15:29:12 +00:00