[lkml]   [2017]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCHv3 0/2] mtd: m25p80: restore the addressing mode when exiting
From: Hou Zhiqiang <>

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(+)


 \ /
  Last update: 2017-12-06 04:13    [W:0.134 / U:9.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site