]> git.sur5r.net Git - u-boot/commit
spi_flash: support old STMicro parts with RES
authorThomas Chou <thomas@wytron.com.tw>
Fri, 30 Apr 2010 13:11:20 +0000 (21:11 +0800)
committerMike Frysinger <vapier@gentoo.org>
Thu, 1 Jul 2010 03:47:08 +0000 (23:47 -0400)
commit12c2e3bbbe873ca79817845077dd8e6630d71158
tree63f24e148eee66e77406f3647e0ac848288d6925
parent7319bcaf8ba1cddba2e56a722144eafc98868f77
spi_flash: support old STMicro parts with RES

Some old STMicro parts do not support JEDEC ID (0x9f). This patch
uses RES (0xab) to get Electronic ID and translates it to JEDEC ID.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Mike Frysinger <vapier@gentoo.org>
drivers/mtd/spi/spi_flash.c
drivers/mtd/spi/stmicro.c