On Thursday 29 April 2010 23:34:17 Thomas Chou wrote:
--- a/drivers/mtd/spi/spi_flash.c
+++ b/drivers/mtd/spi/spi_flash.c
@@ -147,6 +147,7 @@ struct spi_flash *spi_flash_probe(unsigned int bus,
unsigned int cs, #endif
#ifdef CONFIG_SPI_FLASH_STMICRO
case 0x20:
+ case 0xff:
On 04/30/2010 08:48 PM, Mike Frysinger wrote:
On Thursday 29 April 2010 23:34:17 Thomas Chou wrote:
--- a/drivers/mtd/spi/spi_flash.c
+++ b/drivers/mtd/spi/spi_flash.c
@@ -147,6 +147,7 @@ struct spi_flash *spi_flash_probe(unsigned int bus,
unsigned int cs, #endif
#ifdef
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.
This is needed to support the SPI flash chip on Altera EP1C20 board.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
---
v2: move the logic to stmicro's probe
3 matches
Mail list logo