android_kernel_xiaomi_sm8350/drivers/mtd
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
..
chips [MTD] fix CFI point method for discontiguous maps 2007-09-23 18:40:49 +01:00
devices Revert "[MTD] Driver for AT26Fxxx dataflash devices" 2007-08-03 23:02:02 +01:00
maps [MTD] MAPS: Merge Lubbock and Mainstone drivers into common PXA2xx driver 2007-09-23 18:40:14 +01:00
nand [MTD] [NAND] nandsim: avoid deadlocking FS 2007-09-06 10:16:22 +01:00
onenand [MTD] [OneNAND] main read/write ops support for yaffs2 2007-09-06 09:27:03 +01:00
ubi [UBI] drivers/mtd/ubi/scan.c: kmalloc + memset conversion to kzalloc 2007-08-01 11:04:05 +01:00
afs.c
cmdlinepart.c
ftl.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
inftlcore.c
inftlmount.c [MTD] drivers/mtd/inftlmount.c: kmalloc + memset conversion to kcalloc 2007-08-01 11:02:40 +01:00
Kconfig [MTD] oops and panic message logging to MTD device 2007-06-28 20:18:02 +01:00
Makefile Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2007-08-23 10:43:14 +01:00
mtd_blkdevs.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2007-07-23 10:20:10 +01:00
mtdblock_ro.c
mtdblock.c
mtdchar.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2007-08-23 10:43:14 +01:00
mtdconcat.c [MTD] Fix do_div() type warning in mtdconcat 2007-07-23 13:07:06 +01:00
mtdcore.c [MTD] mtdcore.c: share syms with mtd_blkdev.c 2007-06-28 20:24:50 +01:00
mtdcore.h [MTD] mtdcore.c: share syms with mtd_blkdev.c 2007-06-28 20:24:50 +01:00
mtdoops.c [MTD] mtdoops printk warning fixes 2007-08-22 12:43:13 +01:00
mtdpart.c [MTD] Makefile fix for mtdsuper 2007-08-03 12:42:40 +01:00
mtdsuper.c [MTD] Fix error checking after get_mtd_device() in get_sb_mtd functions 2007-06-01 19:21:59 +01:00
nftlcore.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
nftlmount.c
redboot.c [MTD] Improve heuristic for detecting wrong-endian RedBoot partition table 2007-02-10 09:58:31 +00:00
rfd_ftl.c [MTD] Fix potential leak in rfd_ftl_add_mtd 2007-08-02 21:44:10 +01:00
ssfdc.c