[PATCH v4 0/4] mtd: cfi_cmdset_0002: Add OTP support for Micron M29EW NOR flashes
Christian Riesch
christian.riesch at omicron.at
Mon Apr 7 02:51:43 PDT 2014
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) on a custom board with a Texas Instruments AM1808
system on chip.
Prerequisites:
- Applies on linux-mtd.git
Changes for v2:
- 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
Changes for v3:
- Added retlet parameter to cfi_amdstd_get_{fact,user}_prot_info
- Fixed partial write of words
Changes for v4:
- Updated prerequisites in cover letter
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