mtd: cfi_cmdset_0001.c: add support for Sharp LH28F640BF NOR
authorAndrea Adami <andrea.adami@gmail.com>
Mon, 2 Jun 2014 21:38:35 +0000 (23:38 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 14 Jul 2014 05:22:47 +0000 (22:22 -0700)
commit812c5fa82bae9f377f49000d7636c19a8b61735c
treeb76ab01d4047051cc21867e69e4138e270decce4
parent54c39e9ba3a93e3848ad8f9d082c39010cfc5e73
mtd: cfi_cmdset_0001.c: add support for Sharp LH28F640BF NOR

This family of chips was long ago supported by the pre-cfi driver.
CFI code tested on several Zaurus SL-5500 (Collie) 2x16 on 32 bit bus.

Function is_LH28F640BF() mimics is_m29ew() from cmdset_0002.c

Buffer write fixes as seen in 2007 patch c/o
Anti Sullin <anti.sullin <at> artecdesign.ee>
http://comments.gmane.org/gmane.linux.ports.arm.kernel/36733

[Brian: this patch is semi-urgent, because the following patch switches
  to using CFI detection for a chip which (until now) is unsupported by
  the CFI driver

  9218310  ARM: 8084/1: sa1100: collie: revert back to cfi_probe
]

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/chips/cfi_cmdset_0001.c