[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171124100848.1828-1-Zhiqiang.Hou@nxp.com>
Date: Fri, 24 Nov 2017 18:08:46 +0800
From: Zhiqiang Hou <Zhiqiang.Hou@....com>
To: <linux-mtd@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<computersforpeace@...il.com>, <dwmw2@...radead.org>,
<boris.brezillon@...e-electrons.com>, <marek.vasut@...il.com>,
<richard@....at>, <cyrille.pitchen@...ev4u.fr>
CC: Hou Zhiqiang <Zhiqiang.Hou@....com>
Subject: [PATCH 0/2] mtd: m25p80: restore the addressing mode when stop using the flash
From: Hou Zhiqiang <Zhiqiang.Hou@....com>
To be compatible with legacy device, reset the addressing mode
to the default mode. Such as Freescale eSPI boot, it copies the
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 a API to restore the addressing mode
mtd: m25p80: restore the addressing mode when stop using the flash
drivers/mtd/devices/m25p80.c | 8 ++++++++
drivers/mtd/spi-nor/spi-nor.c | 8 ++++++++
include/linux/mtd/spi-nor.h | 1 +
3 files changed, 17 insertions(+)
--
2.14.1
Powered by blists - more mailing lists