linux/drivers/mtd/devices
Hou Zhiqiang 59b356ffd0 mtd: m25p80: restore the status of SPI flash when exiting
Restore the status to be compatible with legacy devices.
Take Freescale eSPI boot for example, it copies (in 3 Byte
addressing mode) the RCW and bootloader images from SPI flash
without firing a reset signal previously, so the reboot command
will fail without resetting the addressing mode of SPI flash.
This patch implements .shutdown function to restore the status
in reboot process, and add the same operation to the .remove
function.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
2017-12-13 00:36:00 +01:00
..
bcm47xxsflash.c mtd: bcm47xxsflash: support reading flash out of mapping window 2017-02-08 15:07:59 -08:00
bcm47xxsflash.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
block2mtd.c treewide: Fix function prototypes for module_param_call() 2017-10-31 15:30:37 +01:00
docg3.c mtd: Avoid probe failures when mtd->dbg.dfs_dir is invalid 2017-11-13 22:07:31 +01:00
docg3.h mtd: create per-device and module-scope debugfs entries 2017-07-21 13:25:29 -07:00
Kconfig mtd: mchp23k256: Add driver for this SPI SRAM device 2017-05-11 10:13:02 -07:00
lart.c mtd: constify mtd_partition 2017-11-06 23:26:01 +01:00
m25p80.c mtd: m25p80: restore the status of SPI flash when exiting 2017-12-13 00:36:00 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mchp23k256.c mtd: mchp23k256: Add support for mchp23lcv1024 2017-06-08 16:32:11 -07:00
ms02-nv.c mtd: ms02-nv: remove superfluous name cast 2014-01-03 11:22:09 -08:00
ms02-nv.h
mtd_dataflash.c mtd: dataflash: Add flash_info for AT45DB641E 2017-05-11 10:04:52 -07:00
mtdram.c mtd: remove the get_unmapped_area method 2017-11-13 21:39:18 +01:00
phram.c treewide: Fix function prototypes for module_param_call() 2017-10-31 15:30:37 +01:00
pmc551.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
powernv_flash.c mtd: powernv_flash: Use opal_async_wait_response_interruptible() 2017-11-06 20:39:31 +11:00
serial_flash_cmds.h mtd: st_spi_fsm: remove SPINOR_OP_RDSR2 and use SPINOR_OP_RDCR instead 2017-06-27 21:50:17 +02:00
slram.c mtd: slram: use memremap() instead of ioremap() 2017-11-13 21:39:16 +01:00
spear_smi.c mtd: spear_smi: add NULL check on devm_kzalloc() return value 2017-08-15 14:00:42 +02:00
sst25l.c MTD updates for 4.4-rc1: 2015-11-06 11:50:24 -08:00
st_spi_fsm.c mtd: st_spi_fsm: Handle clk_prepare_enable/clk_disable_unprepare. 2017-08-23 16:49:20 +02:00