[MTD] [NOR] Attempt to clean up the JEDEC unlock address confusion
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 3 Dec 2007 13:01:21 +0000 (13:01 +0000)
committerDavid Woodhouse <dwmw2@infradead.org>
Mon, 3 Dec 2007 13:01:21 +0000 (13:01 +0000)
commitcec80bf2cc5283f2f00c34f474be857e5c9f6f65
tree3c057c72fa6958794ba14e4c08cf158a9486aa6f
parentf6f0f81895ad8272905bf3d637b7c99a62238d79
[MTD] [NOR] Attempt to clean up the JEDEC unlock address confusion

Use a single unlock address, adjust it for the device type in the
knowledge that it'll be adjusted back again. This has the desirable
effect of masking out the least significant bit of the address for x16
devices.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/chips/jedec_probe.c