]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[MTD] jedec_probe: Fix SST 16-bit chip detection
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 15 Jul 2008 15:09:15 +0000 (00:09 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 25 Jul 2008 14:02:47 +0000 (10:02 -0400)
commitca6f12c67ed19718cf37d0f531af9438de85b70c
treef0fa0847f19d93284a9d82060b60b5dd9b0f7b75
parentf636ffb420f0f9059c1d0b841afd691657246ad6
[MTD] jedec_probe: Fix SST 16-bit chip detection

The unlock_addr rework in kernel 2.6.25 breaks 16-bit SST chips.  SST
39LF160 and SST 39VF1601 are both 16-bit only chip (do not have BYTE#
pin) and new uaddr value is not correct for them.  Add
MTD_UADDR_0xAAAA_0x5555 for those chips.  Tested with SST 39VF1601
chip.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/chips/jedec_probe.c