[PATCH for-4.4 1/2] mtd: spi-nor: fix Spansion regressions (aliased with Winbond)

Brian Norris computersforpeace at gmail.com
Tue Jan 5 16:02:10 PST 2016


On Mon, Jan 04, 2016 at 06:29:28PM -0800, Brian Norris wrote:
> On Tue, Dec 15, 2015 at 10:48:20AM -0800, Brian Norris wrote:
> > Spansion and Winbond have occasionally used the same manufacturer ID,
> > and they don't support the same features. Particularly, writing SR=0
> > seems to break read access for Spansion's s25fl064k. Unfortunately, we
> > don't currently have a way to differentiate these Spansion and Winbond
> > parts, so rather than regressing support for these Spansion flash, let's
> > drop the new Winbond lock/unlock support for now. We can try to address
> > Winbond support during the next release cycle.
> > 
> > Original discussion:
> > 
> > http://patchwork.ozlabs.org/patch/549173/
> > http://patchwork.ozlabs.org/patch/553683/
> > 
> > Fixes: 357ca38d4751 ("mtd: spi-nor: support lock/unlock/is_locked for Winbond")
> > Fixes: c6fc2171b249 ("mtd: spi-nor: disable protection for Winbond flash at startup")
> > Signed-off-by: Brian Norris <computersforpeace at gmail.com>
> > Reported-by: Felix Fietkau <nbd at openwrt.org>
> > Cc: Felix Fietkau <nbd at openwrt.org>
> 
> Felix,
> 
> Can I get a Tested-by? I'm going to send this for 4.4 still, if
> possible.

Despite the lack of response, pushed both to linux-mtd.git, as they are
obvious responses to the reported regressions/bugs.

Brian



More information about the linux-mtd mailing list