android_kernel_motorola_sm6225/drivers/mtd/nand
Sascha Hauer 8c1fd89a85 mxc_nand: cleanup eccoob descriptions
The original Freescale driver used to have eccoob descriptions like
this:

static struct nand_ecclayout nand_hw_eccoob_8 = {
	.eccbytes = 5,
	.eccpos = {6, 7, 8, 9, 10},
	.oobfree = {{0, 5}, {11, 5}}
};

static struct nand_ecclayout nand_hw_eccoob_16 = {
	.eccbytes = 5,
	.eccpos = {6, 7, 8, 9, 10},
	.oobfree = {{0, 6}, {12, 4}}
};

The former was used for 8bit flashes and the latter for 16bit flashes.
They honored the fact that the bad block marker on 8bit flashes is on byte 5
while on 16bit flashes it is on byte 11.
In the Kernel driver this was copied wrong and we ended up with two identical
descriptions.

Change it so that we have only one description which leaves byte 5 and byte
11 unspecified so that it won't be used by others.

Also, rename the descriptions to nand_hw_eccoob_smallpage and
nand_hw_eccoob_largepage so that it can't be confused with Nand chip bus
widths (what actually happened in this driver)

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-11-12 08:31:28 +01:00
..
alauda.c [MTD] [NAND] alauda: use USB API functions rather than constants 2009-01-05 12:59:02 +01:00
ams-delta.c OMAP: Rename OMAP_MPUIO_BASE to OMAP1_MPUIO_BASE 2009-08-28 10:50:34 -07:00
atmel_nand.c mtd: atmel_nand: unused variable removed 2009-10-08 09:39:54 +01:00
atmel_nand_ecc.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
au1550nd.c [MTD] [NAND] au1550nd.c: remove unused #include <version.h> 2008-08-25 12:20:53 +01:00
autcpu12.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
bcm_umi_bch.c mtd: add bcmring nand driver 2009-10-20 10:07:23 +09:00
bcm_umi_nand.c mtd: add bcmring nand driver 2009-10-20 10:07:23 +09:00
bf5xx_nand.c mtd: blackfin NFC: fix hang when using NAND on BF527-EZKITs 2009-06-05 18:27:43 +01:00
cafe_nand.c Merge git://git.infradead.org/mtd-2.6 2009-09-23 10:07:49 -07:00
cmx270_nand.c trivial: mtd: add __init/__exit macros to init/exitfunctions 2009-09-21 15:14:53 +02:00
cs553x_nand.c [MTD] [NAND] Fix compilation warnings in drivers/mtd/nand/cs553x_nand.c 2008-10-18 12:39:17 +01:00
davinci_nand.c mtd: nand: davinci: fix to use mask_ale from pdata 2009-10-05 07:50:45 +01:00
diskonchip.c trivial: MTD: remove EOL from MODULE_DESCRIPTION 2009-03-30 15:22:02 +02:00
edb7312.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
excite_nandflash.c platform driver: fix incorrect use of 'platform_bus_type' with 'struct device_driver' 2009-03-24 16:38:25 -07:00
fsl_elbc_nand.c mtd: nand: add "page" parameter to all read_page/read_page_raw APIs 2009-09-19 11:13:47 -07:00
fsl_upm.c [MTD] [NAND] FSL-UPM: Add wait flags to support board/chip specific delays 2009-04-06 07:17:59 -07:00
gpio.c [MTD] [NAND] GPIO NAND flash driver 2008-10-18 12:48:42 +01:00
h1910.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
Kconfig mtd: add bcmring nand driver 2009-10-20 10:07:23 +09:00
Makefile mtd: add bcmring nand driver 2009-10-20 10:07:23 +09:00
mxc_nand.c mxc_nand: cleanup eccoob descriptions 2009-11-12 08:31:28 +01:00
nand_base.c mtd: nand: fix htmldocs warnings 2009-09-24 07:46:25 -07:00
nand_bbt.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
nand_bcm_umi.c mtd: add bcmring nand driver 2009-10-20 10:07:23 +09:00
nand_bcm_umi.h mtd: add bcmring nand driver 2009-10-20 10:07:23 +09:00
nand_ecc.c mtd: nand: add __nand_correct_data helper function 2009-09-19 14:20:25 -07:00
nand_ids.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
nandsim.c [MTD] [NAND] fix nandsim sched.h references 2009-01-05 12:59:32 +01:00
ndfc.c mtd: nand: fix ECC Correction bug for SMC ordering for NDFC driver 2009-09-19 14:15:00 -07:00
nomadik_nand.c mtd: nand: driver for Nomadik 8815 SoC (on NHK8815 board) 2009-09-20 05:59:42 -07:00
omap2.c mtd: omap: adding DMA mode support in nand prefetch/post-write 2009-09-19 13:21:05 -07:00
orion_nand.c mtd: nand: register orion_nand using platform_driver_probe() 2009-09-19 11:06:30 -07:00
pasemi_nand.c powerpc: More printing warning fixes for the l64 to ll64 conversion 2009-01-28 17:15:52 +11:00
plat_nand.c mtd: plat_nand: request memory resource before doing ioremap 2009-10-20 09:09:59 +09:00
ppchameleonevb.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
pxa3xx_nand.c mtd: pxa3xx_nand: add single-bit error corrections reporting 2009-09-19 13:13:08 -07:00
rtc_from4.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
s3c2410.c mtd/nand: s3c6400 support for s3c2410 driver 2009-06-08 12:23:23 +01:00
sh_flctl.c mtd: sh_flctl: register sh_flctl using platform_driver_probe() 2009-09-19 16:07:34 -07:00
sharpsl.c [MTD] sharpsl-nand: move registration to board code 2008-10-29 21:08:37 +03:00
socrates_nand.c [MTD] [NAND] Add support for NAND on the Socrates board 2009-04-06 07:15:27 -07:00
spia.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
tmio_nand.c mtd: nand: fix tmio_nand ecc correction 2009-09-19 14:20:33 -07:00
ts7250.c mtd: ep93xx: cleanup includes in ts7250 nand driver 2009-09-04 09:35:12 +01:00
txx9ndfmc.c mtd: nand: txx9ndfmc: transfer 512 byte at a time if possible 2009-09-19 14:20:58 -07:00
w90p910_nand.c mtd: add nand support for w90p910 (v2) 2009-09-19 13:17:05 -07:00