aboutsummaryrefslogtreecommitdiff
path: root/kernel/nsproxy.c
diff options
context:
space:
mode:
authorMatt Reimer <mreimer@vpop.net>2008-11-18 10:47:42 -0800
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-01-05 13:02:42 +0100
commit7f9938d0fd6c778bd0ce296a3e3b50266de2b892 (patch)
tree25425680b8a1c53d12e6995aac6b9afb8b579ee6 /kernel/nsproxy.c
parenta5cce42f357b3106fb0eacd85edec5ae31288956 (diff)
[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>
Diffstat (limited to 'kernel/nsproxy.c')
0 files changed, 0 insertions, 0 deletions