* mtd/m25p80: Device search issue
@ 2011-08-11 4:36 Tomoya MORINAGA
0 siblings, 0 replies; only message in thread
From: Tomoya MORINAGA @ 2011-08-11 4:36 UTC (permalink / raw)
To: dwmw2, linux-mtd, linux-kernel; +Cc: toshiharu-linux@dsn.okisemi.com
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-08-11 4:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-11 4:36 mtd/m25p80: Device search issue Tomoya MORINAGA
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox