[U-Boot] [PATCH 5/6 v2] spi_flash: support old STMicro parts with RES
Thomas Chou
thomas at wytron.com.tw
Fri Apr 30 15:15:38 CEST 2010
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 CONFIG_SPI_FLASH_STMICRO
>> case 0x20:
>> + case 0xff:
>> flash = spi_flash_probe_stmicro(spi, idcode);
>> break;
>> #endif
>>
> hrm, this kind of sucks, but i guess for now it's fine. stick a comment in
> there about why we're sending the normal error byte to the stmicro function.
> /* Let the stmicro func handle non-JEDEC ids */
> -mike
>
Hi Mike,
I added the comment. Thank you very much.
Best regards,
Thomas
More information about the U-Boot
mailing list