lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4E435C53.6080701@dsn.okisemi.com>
Date:	Thu, 11 Aug 2011 13:36:35 +0900
From:	Tomoya MORINAGA <tomoya-linux@....okisemi.com>
To:	dwmw2@...radead.org, linux-mtd@...ts.infradead.org,
	linux-kernel@...r.kernel.org
CC:	"toshiharu-linux@....okisemi.com" <toshiharu-linux@....okisemi.com>
Subject: mtd/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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ