]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita946ee4c73ac759fa0615776d59df036bcbd3abb
tree6f3f92b8bd41ec220b9dd59b095ef45259aa81a3
parent46e9e5cfc2faf5092a0d6a6e8631caa7353afc07
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