linux/drivers/mtd/chips
Andy Lowe 097f2576eb [MTD] fix CFI point method for discontiguous maps
The CFI probe routine is capable of detecting flash banks consisting of
identical chips mapped to physically discontiguous addresses.  (One
common way this can occur is if a flash bank is populated with chips of
less capacity than the hardware was designed to support.)  The CFI
point() routine currently ignores any such gaps.  This patch fixes
the CFI point() routine so that it truncates any request that would
span a gap.

Signed-off-by: Andy Lowe <alowe@mvista.com>
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2007-09-23 18:40:49 +01:00
..
cfi_cmdset_0001.c [MTD] fix CFI point method for discontiguous maps 2007-09-23 18:40:49 +01:00
cfi_cmdset_0002.c [MTD] [NOR] cfi_cmdset_0002.c: fix 'cfi_amdstd_erase_varsize' to be static 2007-06-28 20:24:19 +01:00
cfi_cmdset_0020.c [MTD] [NOR] Fix oops in cfi_amdstd_sync 2007-03-08 09:22:38 +00:00
cfi_probe.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cfi_util.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
chipreg.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fwh_lock.h [MTD] Fix fwh_lock locking 2007-04-17 14:11:20 -04:00
gen_probe.c [MTD] Remove trailing whitespace 2006-11-30 08:17:38 +00:00
jedec_probe.c [MTD] Clean up duplicate includes in drivers/mtd/ 2007-07-23 11:56:27 +01:00
Kconfig [MTD] [CHIPS] Remove MTD_OBSOLETE_CHIPS (jedec, amd_flash, sharp) 2007-05-09 13:34:37 +01:00
Makefile [MTD] [CHIPS] Remove MTD_OBSOLETE_CHIPS (jedec, amd_flash, sharp) 2007-05-09 13:34:37 +01:00
map_absent.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
map_ram.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
map_rom.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00