android_kernel_xiaomi_sm8350/drivers/mtd
Matt Reimer 7f9938d0fd [MTD] [NAND] pxa3xx: fix non-page-aligned reads
Reads from non-page-aligned addresses were broken because while the
address to read from was correctly written to NDCB*, a full page was
always read. Fix this by ignoring the column and only using the page
address.

I suspect this whole-page behavior is due to the controller's need to
read the entire page in order to generate correct ECC. In the non-ECC
case this could be optimized to use the column address, and to set the
read length to what is being requested rather than the length of an
entire page.

Signed-off-by: Matt Reimer <mreimer@vpop.net>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2009-01-05 13:02:42 +01:00
..
chips [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
devices [MTD] struct device - replace bus_id with dev_name(), dev_set_name() 2008-12-23 10:00:14 +00:00
maps Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2009-01-05 10:50:33 +01:00
nand [MTD] [NAND] pxa3xx: fix non-page-aligned reads 2009-01-05 13:02:42 +01:00
onenand Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2009-01-05 10:50:33 +01:00
ubi Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2009-01-05 10:50:33 +01:00
afs.c
ar7part.c
cmdlinepart.c [MTD] cmdlineparts documentation change - explain where mtd-id comes from 2008-10-18 12:43:03 +01:00
ftl.c [MTD] Remove strange u_int32_t types from FTL 2008-12-10 14:06:42 +00:00
inftlcore.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
inftlmount.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
Kconfig [MTD] dataflash OTP support 2008-08-01 21:47:47 +01:00
Makefile
mtd_blkdevs.c [PATCH] switch mtd_blkdevs 2008-10-21 07:48:38 -04:00
mtdblock_ro.c
mtdblock.c
mtdchar.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
mtdconcat.c [MTD] struct device - replace bus_id with dev_name(), dev_set_name() 2008-12-23 10:00:14 +00:00
mtdcore.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
mtdcore.h
mtdoops.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
mtdpart.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
mtdsuper.c [MTD] Fix !CONFIG_BLOCK compile for mtdsuper.c 2008-08-02 07:52:39 +01:00
nftlcore.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
nftlmount.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
ofpart.c [MTD] remove unused mtd parameter in of_mtd_parse_partitions() 2008-10-13 15:01:42 +01:00
redboot.c
rfd_ftl.c [MTD] remove private wrapper of endian helpers in rfd_ftl.c 2008-12-10 15:39:09 +00:00
ssfdc.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00