linux/drivers/mtd/nand
Ricard Wanderlöf ff0dab64b4 [MTD] NAND: Fix nand_default_mark_blockbad() when flash-based BBT disabled
When a flash-based BBT is not used, nand_default_mark_blockbad() is supposed
to mark the block bad in the oob. However, it sets the wrong length variable
so that no bad block marker is in fact written. This patch attempts to
rectify that.

(As note, it seems to be that logically, it shouldn't be necessary to set
both length variables, as one appears to be for the main buffer, and
one for the oob buffer, but this is how it is done in several places,
including the code for the mtd character device MEMWRITEOOB and MEMREADOOB
ioctls. I'm not sure if this is a temporary solution during some rework of
the mtd infrastructure, or whether there is a deeper thought here.)

Signed-off-by: Ricard Wanderlöf <ricardw@axis.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-10-26 13:17:49 +03:00
..
ams-delta.c [PATCH] MTD NAND: Fix ams-delta after core conversion 2006-08-27 11:01:30 -07:00
at91_nand.c [MTD] NAND: AT91 NAND driver 2006-10-21 16:28:26 +01:00
au1550nd.c [MTD NAND] Remove old code in au1550nd.c 2006-09-22 10:09:44 +01:00
autcpu12.c
cs553x_nand.c [PATCH] mtd: remove several bogus casts to void * in iounmap() argument 2006-10-10 15:37:22 -07:00
diskonchip.c [MTD] NAND: Fix breakage all over the place 2006-06-20 20:31:24 +01:00
edb7312.c [MTD] Cleanup of 'ioremap balanced with iounmap for drivers/mtd subsystem' 2006-10-02 09:48:23 +01:00
h1910.c
Kconfig [MTD] NAND: AT91 NAND driver 2006-10-21 16:28:26 +01:00
Makefile [MTD] NAND: AT91 NAND driver 2006-10-21 16:28:26 +01:00
nand_base.c [MTD] NAND: Fix nand_default_mark_blockbad() when flash-based BBT disabled 2006-10-26 13:17:49 +03:00
nand_bbt.c [MTD NAND] Allocate chip->buffers separately to allow it to be overridden 2006-09-25 17:08:04 +01:00
nand_ecc.c MTD: fix all kernel-doc warnings 2006-06-29 08:55:00 +01:00
nand_ids.c
nandsim.c [MTD] NAND: nandsim: support subpage write 2006-10-21 16:44:23 +01:00
ndfc.c [MTD NAND] Fix in typo ndfc.c causing wrong ECC layout 2006-09-22 10:30:25 +01:00
ppchameleonevb.c ioremap balanced with iounmap for drivers/mtd subsystem 2006-09-22 10:24:31 +01:00
rtc_from4.c
s3c2410.c [MTD NAND] s3c2412 support in s3c2410.c 2006-06-27 14:35:46 +01:00
sharpsl.c MTD: [NAND] Fix the sharpsl driver after breakage from a core conversion 2006-07-15 13:19:24 +01:00
spia.c
toto.c
ts7250.c [MTD] NAND: Fix typo in mtd/nand/ts7250.c 2006-06-27 23:20:48 +01:00