linux/drivers/mtd/nand
Sebastian Siewior c27e9b80be [MTD] [NAND] fix possible Ooops in rfc_from4
I found this while I was looking how the rs_lib is working.  The rs_decoder is
initialized _after_ the nand core code read the BBT table and _after_ the
partition table has been added.  The driver has a private BBT description
which is in located in flash data so we Ooops if there is a bit flip _or_ if a
bit flips while reading the partition table.

This patch moves the initialization of the rs_lib before the first possible
access by nand core.

Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jörn Engel <joern@wh.fh-wedel.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2008-04-22 14:13:14 +01:00
..
alauda.c [MTD] [NAND] Fix compiler warning in Alauda driver 2007-10-13 14:33:27 +01: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: Make mtdparts option can override board info 2008-02-03 18:21:01 +11:00
au1550nd.c [MTD NAND] Remove old code in au1550nd.c 2006-09-22 10:09:44 +01:00
autcpu12.c drivers/mtd/: Spelling fixes 2008-02-03 17:22:34 +02:00
bf5xx_nand.c Merge git://git.infradead.org/mtd-2.6 2008-02-07 10:20:31 -08:00
cafe_nand.c [MTD] [NAND] Check for RedBoot partitions on CAFÉ NAND 2007-10-28 21:56:39 -04:00
cmx270_nand.c [MTD] [NAND] CM-x270 MTD driver 2007-04-27 23:04:32 +01:00
cs553x_nand.c [MTD] [NAND] mtd/nand/cs553x_nand.c:part_probes[] static 2008-04-22 12:35:40 +01:00
diskonchip.c [MTD] [NAND] Replace -1 with -EBADMSG in nand error correction code 2007-10-20 22:30:54 +01:00
edb7312.c drivers/mtd/: Spelling fixes 2008-02-03 17:22:34 +02:00
excite_nandflash.c [MTD] Clean up duplicate includes in drivers/mtd/ 2007-07-23 11:56:27 +01:00
fsl_elbc_nand.c [POWERPC] fsl_elbc_nand: factor out localbus defines 2008-04-17 01:01:38 -05:00
h1910.c [MTD] Refactor NAND hwcontrol to cmd_ctrl 2006-05-23 23:25:53 +02:00
Kconfig plat-orion: make orion_nand available for all Orion families 2008-03-27 14:51:40 -04:00
Makefile [MTD] [NAND] Freescale enhanced Local Bus Controller FCM NAND support. 2008-02-07 10:26:57 +00:00
nand_base.c Merge git://git.infradead.org/mtd-2.6 2008-02-07 10:20:31 -08:00
nand_bbt.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
nand_ecc.c [MTD] [NAND] Replace -1 with -EBADMSG in nand error correction code 2007-10-20 22:30:54 +01:00
nand_ids.c [MTD] [NAND] Add NAND manufacturer AMD. 2007-07-23 11:51:53 +01:00
nandsim.c drivers/mtd/: Spelling fixes 2008-02-03 17:22:34 +02:00
ndfc.c [MTD] [NAND] Change NDFC driver to support 405 platforms too 2007-06-28 20:33:04 +01:00
orion_nand.c plat-orion: make orion_nand available for all Orion families 2008-03-27 14:51:40 -04:00
pasemi_nand.c [MTD] [NAND] pasemi_nand driver 2007-11-29 00:47:13 +00:00
plat_nand.c [MTD] [NAND] Remove unused variable in plat_nand_remove 2008-02-03 18:31:52 +11:00
ppchameleonevb.c parse errors in ifdefs 2007-06-01 08:18:28 -07:00
rtc_from4.c [MTD] [NAND] fix possible Ooops in rfc_from4 2008-04-22 14:13:14 +01:00
s3c2410.c Merge git://git.infradead.org/mtd-2.6 2008-02-07 10:20:31 -08:00
sharpsl.c drivers/mtd/: Spelling fixes 2008-02-03 17:22:34 +02:00
spia.c [MTD] Refactor NAND hwcontrol to cmd_ctrl 2006-05-23 23:25:53 +02:00
toto.c [MTD] NAND modularize write function 2006-05-26 18:52:08 +02:00
ts7250.c [MTD] NAND: Fix typo in mtd/nand/ts7250.c 2006-06-27 23:20:48 +01:00