[PATCH v2 0/4 RESEND] mtd: cfi_cmdset_0002: Add OTP support for Micron M29EW NOR flashes
Christian Riesch
christian.riesch at omicron.at
Thu May 23 05:58:12 EDT 2013
Hi,
This patchset adds support for the reading, writing, and locking of 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.
Tests with this patchset were done with a single Micron M29EW device
(512 Mbit, 16 bit, only one chip) on a custom board with a
Texas Instruments AM1808 system on chip.
Changes since v1:
- dropped one patch that changes the detection of M29EW devices,
this patch is currently not required
- added support for locking
- fixed a few bugs in the loop that walks through the OTP memory
Best regards,
Christian
Christian Riesch (4):
mtd: cfi_cmdset_0002: Add support for reading OTP
mtd: cfi_cmdset_0002: Invalidate cache after entering/exiting OTP
memory
mtd: cfi_cmdset_0002: Add support for writing OTP memory
mtd: cfi_cmdset_0002: Add support for locking OTP memory
drivers/mtd/chips/cfi_cmdset_0002.c | 350 +++++++++++++++++++++++++++++++++--
1 file changed, 331 insertions(+), 19 deletions(-)
--
1.7.9.5
More information about the linux-mtd
mailing list