sf: stmicro: support JEDEC standard two-byte signature
authorStephan Linz <linz@li-pro.net>
Thu, 2 Aug 2012 18:47:29 +0000 (20:47 +0200)
committerMike Frysinger <vapier@gentoo.org>
Fri, 10 Aug 2012 00:41:54 +0000 (20:41 -0400)
commit63ff6a66aef4d838fa6e3737d3e242697c0a591d
tree2fe78294ddfcd08ab1ec73244fa5160349c8478a
parentc969abc47033d6f810d3c9dbdb994ea9d691d038
sf: stmicro: support JEDEC standard two-byte signature

There are more than the M25Pxx serial flashs that can be
used with the stmicro driver, for example: the M25PXxx or
N25Qxx serie. All these chips have burned in the original
stmicro manufacture id 0x20 together with a standard
two-byte signature.

In preperation to support all these chips the stmicro driver
have to decode the full two-byte signature.

Signed-off-by: Stephan Linz <linz@li-pro.net>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/mtd/spi/stmicro.c