lkml.org 
[lkml]   [2011]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectmtd/m25p80: Device search issue
Hi,

I have a question.
We've faced issue when connecting SPI Flash memory "SST25VF016B" via
SPI_TOPCLIFF_PCH, the Flash is not detected.
The cause is that jedec_probe fails in m25p80.


m25p80.c
static const struct spi_device_id *__devinit jedec_probe(struct
spi_device *spi)
{

...

jedec = id[0];
jedec = jedec << 8;
jedec |= id[1];
jedec = jedec << 8;
jedec |= id[2];

...

After the above calculation,
jedec becomes "bf25".

I think jedec must be "bf2541", right ?
Let me know what's wrong?

Thanks in advance.
--
tomoya
OKI SEMICONDUCTOR CO., LTD.


\
 
 \ /
  Last update: 2011-08-11 06:39    [W:0.034 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site