mtd: cfi: AMD/Fujitsu compatibles: add panic write support
authorIra W. Snyder <iws@ovro.caltech.edu>
Fri, 6 Jan 2012 19:29:19 +0000 (11:29 -0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 26 Mar 2012 23:11:03 +0000 (00:11 +0100)
commit30ec5a2cb17d78482de0cf9e38721410d48c086d
tree6f3f92b8bd41ec220b9dd59b095ef45259aa81a3
parent192cfd58774b4d17b2fe8bdc77d89c2ef4e0591d
mtd: cfi: AMD/Fujitsu compatibles: add panic write support

This allows the mtdoops driver to work on flash chips using the
AMD/Fujitsu compatible command set.

As the code comments note, the locks used throughout the normal code
paths in the driver are ignored, so that the chance of writing out the
kernel's last messages are maximized.

Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/chips/cfi_cmdset_0002.c