summaryrefslogtreecommitdiff
path: root/drivers/mtd/mtdoops.c
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2009-10-12 20:24:40 +0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-11-30 14:29:00 +0300
commit837479d25e221ba616de2c734f58e1decd8cdb95 (patch)
treed92d2c78579ffe6faf5d6b9bf8341044956f5d07 /drivers/mtd/mtdoops.c
parent18c6182bae0acca220ed6611f741034d563cd19f (diff)
downloadlinux-837479d25e221ba616de2c734f58e1decd8cdb95.tar.xz
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 'drivers/mtd/mtdoops.c')
0 files changed, 0 insertions, 0 deletions