linux/drivers/mtd/nand
Scott Branden 72ea403669 mtd: nand: added nand_shutdown
Add nand_shutdown to wait for current nand operations to finish and prevent
further operations by changing the nand flash state to FL_SHUTDOWN.

This is addressing a problem observed during reboot tests using UBIFS
root file system: NAND erase operations that are in progress during
system reboot/shutdown are causing partial erased blocks. Although UBI should
be able to detect and recover from this error, this change will avoid
the creation of partial erased blocks on reboot in the middle of a NAND erase
operation.

Signed-off-by: Scott Branden <sbranden@broadcom.com>
Tested-by: Scott Branden <sbranden@broadcom.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2015-01-07 17:54:28 -08:00
..
bcm47xxnflash mtd: nand: bcm47xxnflash: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
gpmi-nand mtd: nand: gpmi: remove deprecated comment 2014-12-22 12:58:24 -08:00
ams-delta.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
atmel_nand_ecc.h mtd: atmel_nand: make PMECC lookup table and offset property optional 2014-11-05 14:44:25 -08:00
atmel_nand_nfc.h mtd: atmel_nand: add NFC status error check 2014-07-21 20:02:01 -07:00
atmel_nand.c MTD updates for 3.19: 2014-12-17 09:59:26 -08:00
au1550nd.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
bf5xx_nand.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
cafe_nand.c mtd: cafe_nand: drop duplicate .write_page implementation 2014-11-25 23:13:38 -08:00
cmx270_nand.c mtd: cmx270_nand: Remove unnecessary OOM messages 2014-01-03 11:22:29 -08:00
cs553x_nand.c mtd: cs553x_nand: Remove unnecessary OOM messages 2014-01-03 11:22:29 -08:00
davinci_nand.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
denali_dt.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
denali_pci.c mtd: denali: Drop print of build date/time 2014-01-09 08:52:48 -08:00
denali.c mtd: denali: fix indents and other trivial things 2014-09-19 09:39:27 -07:00
denali.h mtd: denali: fix include guard and license block of denali.h 2014-09-17 23:32:30 -07:00
diskonchip.c mtd: diskonchip: mem resource name is not optional 2014-03-31 18:43:22 -07:00
docg4.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
fsl_elbc_nand.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
fsl_ifc_nand.c MTD updates for 3.19: 2014-12-17 09:59:26 -08:00
fsl_upm.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
fsmc_nand.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
gpio.c MTD updates for 3.19: 2014-12-17 09:59:26 -08:00
jz4740_nand.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
Kconfig mtd: nand: gpio: improve comments about GPIO assisted operation 2014-11-04 23:53:07 -08:00
lpc32xx_mlc.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
lpc32xx_slc.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
Makefile mtd: nand: add sunxi NAND flash controller support 2014-10-29 10:08:00 -07:00
mpc5121_nfc.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
mxc_nand.c MTD updates for 3.19: 2014-12-17 09:59:26 -08:00
nand_base.c mtd: nand: added nand_shutdown 2015-01-07 17:54:28 -08:00
nand_bbt.c mtd: nand: don't break long print messages 2014-09-17 23:29:36 -07:00
nand_bch.c
nand_ecc.c mtd: nand: add line feed to pr_err 2014-04-16 00:18:26 -07:00
nand_ids.c mtd: nand: add ATO manufacturer info 2014-11-25 20:11:12 -08:00
nand_timings.c mtd: nand: Use ULL-suffix for big u64 constant 2014-08-19 11:53:09 -07:00
nandsim.c nandsim: add id_bytes module parameter 2014-10-23 00:36:18 -07:00
ndfc.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
nuc900_nand.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
omap2.c MTD updates for 3.19: 2014-12-17 09:59:26 -08:00
omap_elm.c Merge branch 'platform/remove_owner' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux into driver-core-next 2014-11-03 19:53:56 -08:00
orion_nand.c MTD updates for 3.19: 2014-12-17 09:59:26 -08:00
pasemi_nand.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
plat_nand.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
pxa3xx_nand.c mtd: pxa3xx_nand: make the driver work on big-endian systems 2014-05-28 13:27:37 -07:00
r852.c mtd: nand: r852: correct write_buf loop bounds 2014-05-28 00:05:26 -07:00
r852.h
s3c2410.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
sh_flctl.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
sharpsl.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
sm_common.c mtd: nand: refactor chip->block_markbad interface 2013-08-30 16:47:52 +01:00
sm_common.h mtd: use __packed shorthand 2014-08-19 11:53:08 -07:00
socrates_nand.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
sunxi_nand.c mtd: nand: add sunxi NAND flash controller support 2014-10-29 10:08:00 -07:00
tmio_nand.c mtd: tmio_nand: Use devm_*() functions 2014-01-03 11:22:28 -08:00
txx9ndfmc.c mtd: nand: drop owner assignment from platform_drivers 2014-10-20 16:20:58 +02:00
xway_nand.c mtd: lantiq: Add NAND support on Lantiq XWAY SoC. 2012-09-29 15:05:18 +01:00