All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv3 0/2] mtd: m25p80: restore the addressing mode when exiting
@ 2017-12-06  2:53 Zhiqiang Hou
  2017-12-06  2:53 ` [PATCHv3 1/2] mtd: spi-nor: add an API to restore the status of SPI flash chip Zhiqiang Hou
  2017-12-06  2:53 ` [PATCHv3 2/2] mtd: m25p80: restore the status of SPI flash when exiting Zhiqiang Hou
  0 siblings, 2 replies; 17+ messages in thread
From: Zhiqiang Hou @ 2017-12-06  2:53 UTC (permalink / raw)
  To: linux-mtd, linux-kernel, computersforpeace, dwmw2,
	boris.brezillon, marek.vasut, richard, cyrille.pitchen
  Cc: Hou Zhiqiang

From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>

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 reseting the addressing mode of SPI flash.

Hou Zhiqiang (2):
  mtd: spi-nor: add an API to restore the status of SPI flash chip
  mtd: m25p80: restore the status of SPI flash when exiting

 Documentation/mtd/spi-nor.txt |  3 +++
 drivers/mtd/devices/m25p80.c  |  9 +++++++++
 drivers/mtd/spi-nor/spi-nor.c | 10 ++++++++++
 include/linux/mtd/spi-nor.h   |  6 ++++++
 4 files changed, 28 insertions(+)

-- 
2.14.1

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2018-07-25 23:24 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-06  2:53 [PATCHv3 0/2] mtd: m25p80: restore the addressing mode when exiting Zhiqiang Hou
2017-12-06  2:53 ` [PATCHv3 1/2] mtd: spi-nor: add an API to restore the status of SPI flash chip Zhiqiang Hou
2017-12-12 13:12   ` Cyrille Pitchen
2017-12-06  2:53 ` [PATCHv3 2/2] mtd: m25p80: restore the status of SPI flash when exiting Zhiqiang Hou
2017-12-12 13:19   ` Cyrille Pitchen
2018-07-23 18:13   ` Brian Norris
2018-07-23 20:10     ` Boris Brezillon
2018-07-23 22:06       ` Brian Norris
2018-07-23 22:46         ` NeilBrown
2018-07-23 23:22           ` Boris Brezillon
2018-07-24  1:51             ` NeilBrown
2018-07-24 19:41               ` Brian Norris
2018-07-24 21:48                 ` NeilBrown
2018-07-25 23:24                   ` Brian Norris
2018-07-23 23:18         ` Boris Brezillon
2018-07-24 19:52           ` Brian Norris
2018-07-24 19:59             ` Boris Brezillon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.