summaryrefslogtreecommitdiffstats
path: root/net/qrtr
diff options
context:
space:
mode:
authorHou Zhiqiang2017-12-06 03:53:42 +0100
committerCyrille Pitchen2017-12-13 00:36:00 +0100
commit59b356ffd0b00ed986c0aa1b401dd9b466ee619d (patch)
treeaa857546f8f2f63b52db020894b54cbab16e8a18 /net/qrtr
parentmtd: spi-nor: add an API to restore the status of SPI flash chip (diff)
downloadkernel-qcow2-linux-59b356ffd0b00ed986c0aa1b401dd9b466ee619d.tar.gz
kernel-qcow2-linux-59b356ffd0b00ed986c0aa1b401dd9b466ee619d.tar.xz
kernel-qcow2-linux-59b356ffd0b00ed986c0aa1b401dd9b466ee619d.zip
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>
Diffstat (limited to 'net/qrtr')
0 files changed, 0 insertions, 0 deletions