]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mtd/cfi_flash: fix write problems for Numonyx P33/30 32 MBit flashs
authorHolger Brunck <holger.brunck@keymile.com>
Thu, 9 Aug 2012 08:22:41 +0000 (10:22 +0200)
committerStefan Roese <sr@denx.de>
Mon, 13 Aug 2012 12:34:44 +0000 (14:34 +0200)
commit81316a902a2c76bc880ab49c6d157e3e9754806d
treeea31154edcc7cc39e14b52ace0eb2840238df55b
parent66863b0538d3667a0a4bb64b0eb9197aea27f855
mtd/cfi_flash: fix write problems for Numonyx P33/30 32 MBit flashs

commit 54652991
Work around bug in Numonyx P33/P30 256-Mbit 65nm flash chips

fixes a problem for Numonyx P33/P30 flashes for 256-Mbit, but this leads
to problems for smaller versions of this chip e.g. the 32Mbit version
with deviceid 0x16 on mgcoge. So move the code for this work around to
an own function and check previously manufacturer id and device id to
not break other flashes which don't need this work around.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Heiko Schocher <hs@denx.de>
cc: Stefan Roese <sr@denx.de>
cc: Philippe De Muyter <phdm@macqel.be>
cc: Gerlando Falauto <gerlando.falauto@keymile.com>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c
include/flash.h