[PATCH RFC 0/4] mtd: cfi_cmdset_0002: Add OTP support for Micron M29EW NOR flashes
Christian Riesch
christian.riesch at omicron.at
Thu Feb 28 06:23:22 EST 2013
Hi,
this patchset is a first attempt to add support for reading and
writing the one time programmable (OTP) memory of Micron M29EW NOR flashes.
These flashes have a 256 byte OTP memory, which is called extended
memory region in its datasheet. The flash is compatible to Spansion S29GL
and Macronix MX29GL devices, so support for the OTP memory of these
flashes should also be possible.
Later I would like to add support for locking this memory region, too.
I only did a few basic tests with this patchset with a single Micron
M29EW device (512Mbit, 16 bit, only one chip) on a custom board
with a Texas Instruments AM1808 system on chip. I am submitting this
patchset now before doing more testing since I would like to hear
your comments on it; this is my first patchset in the mtd subsystem.
Please see also my comments in the patches, I have a few questions there.
Thank you!
Best regards, Christian
Cc: Gerlando Falauto <gerlando.falauto at keymile.com>
Cc: Artem Bityutskiy <Artem.Bityutskiy at linux.intel.com>
Cc: David Woodhouse <David.Woodhouse at intel.com>
Cc: Uwe Kleine-Koenig <u.kleine-koenig at pengutronix.de>
Christian Riesch (4):
mtd: cfi_probe: Fix detection of Micron M29EW flashes
mtd: cfi_cmdset_0002: Add support for reading OTP memory of Micron
M29EW
mtd: cfi_cmdset_0002: Invalidate cache after entering/exiting OTP
memory
mtd: cfi_cmdset_0002: Add support for writing OTP memory
drivers/mtd/chips/Kconfig | 1 +
drivers/mtd/chips/cfi_cmdset_0002.c | 228 ++++++++++++++++++++++++++++++++---
drivers/mtd/chips/cfi_probe.c | 4 +-
3 files changed, 212 insertions(+), 21 deletions(-)
--
1.7.9.5
More information about the linux-mtd
mailing list