mtd: cfi_cmdset_0002: Add reboot notifier for AMD flashes
authorKevin Cernekee <cernekee@gmail.com>
Thu, 29 Apr 2010 17:26:56 +0000 (10:26 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 10 May 2010 13:25:12 +0000 (14:25 +0100)
commiteafe1311aa3cdb13efa25c60251bce12e60ae38a
treeee8fa168dd311fda3cb1ae067f346a2906e73a7f
parentbff3c10d369440bc87ba612b45ba2777d2bf017f
mtd: cfi_cmdset_0002: Add reboot notifier for AMD flashes

Ensure that the flash device is in a quiescent state before rebooting.
The implementation is closely modeled after the cfi_cmdset_0001 reboot
notifier, commit 963a6fb0a0d336d0513083b7e4b5c3ff9d6d2061 .

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/chips/cfi_cmdset_0002.c