[U-Boot] [PATCH] spi_flash: support old STMicro parts with RES

Thomas Chou thomas at wytron.com.tw
Wed Apr 21 09:51:33 CEST 2010

On 04/21/2010 03:42 PM, Mike Frysinger wrote:
> please move this logic to stmicro's probe function to keep the common code
> clear of such cruft.
> -mike
Hi Mike,

Thanks. I can move them to stmicro.c. But I still need to sort 0xff to 
stmicro. Is this OK?

Best regards,

diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c
index 8986879..d400639 100644
--- a/drivers/mtd/spi/spi_flash.c
+++ b/drivers/mtd/spi/spi_flash.c
@@ -159,6 +159,7 @@ struct spi_flash *spi_flash_probe(unsigned int bus, 
unsigned int cs,
      case 0x20:
+    case 0xff:
          flash = spi_flash_probe_stmicro(spi, idcode);

More information about the U-Boot mailing list