diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-10-12 18:24:40 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-11-30 12:29:00 +0100 |
commit | 837479d25e221ba616de2c734f58e1decd8cdb95 (patch) | |
tree | d92d2c78579ffe6faf5d6b9bf8341044956f5d07 /fs | |
parent | mtd: m25p80: Rework probing/JEDEC code (diff) | |
download | linux-837479d25e221ba616de2c734f58e1decd8cdb95.tar.xz linux-837479d25e221ba616de2c734f58e1decd8cdb95.zip |
mtd: m25p80: Add support for CAT25xxx serial EEPROMs
CAT25 chips (as manufactured by On Semiconductor, previously Catalyst
Semiconductor) are similar to the original M25Px0 chips, except:
- Address width can vary (1-2 bytes, in contrast to 3 bytes in M25P
chips). So, implement convenient m25p_addr2cmd() and m25p_cmdsz()
calls, and place address width information into flash_info struct;
- Page size can vary, therefore we shouldn't hardcode it, so get rid
of FLASH_PAGESIZE definition, and place the page size information
into flash_info struct;
- CAT25 EEPROMs don't need to be erased, so add NO_ERASE flag, and
propagate it to the mtd subsystem.
[dwmw2: Fix up for conflicts with DMA safety patch]
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions