mtd: Add panic_write for NAND flashes
authorSimon Kagstrom <simon.kagstrom@netinsight.net>
Mon, 5 Oct 2009 13:55:52 +0000 (15:55 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 30 Nov 2009 09:46:39 +0000 (09:46 +0000)
commit2af7c653993199fb32dc6d9504064a0c9c57e5d6
treee5a493617a93cacaa77016567df7281d720121b4
parentc9f7ec30848637989b85a9f0ac5d4aa33c49916e
mtd: Add panic_write for NAND flashes

This is a quick and dirty patch to add panic_write for NAND flashes. The
patch seems to work OK on my CRIS board running a 2.6.26 kernel with a
ID: 0x20, Chip ID: 0xf1 (ST Micro NAND 128MiB 3,3V 8-bit), and also on a
OpenRD base (Marvell Kirkwood) board with a Toshiba NAND 512MiB 3,3V
8-bit flash with 2.6.32-pre1.

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_base.c