]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
[MTD] [NOR] Add support for flash chips with ID in bank other than 0
authorMike Rapoport <mike@compulab.co.il>
Tue, 27 May 2008 08:20:03 +0000 (11:20 +0300)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 4 Jun 2008 16:22:59 +0000 (17:22 +0100)
commit5c9c11e1c47c2101253a95c54ef72e13edcc728a
treeb1af123309e5827d174fe3cea0efae106550ffc3
parent8fd310a1cc3aadb7a17d844beeefae66b1a169c6
[MTD] [NOR] Add support for flash chips with ID in bank other than 0

According to JEDEC "Standard Manufacturer's Identification Code"
(http://www.jedec.org/download/search/jep106W.pdf)
several first banks of NOR flash can contain 0x7f instead of actual ID.
This patch adds support for reading manufacturer ID from banks other than 0.

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/chips/jedec_probe.c