aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorKishore Kadiyala <[email protected]>2011-05-11 15:47:27 +0000
committerDavid Woodhouse <[email protected]>2011-05-25 01:03:37 +0000
commitc5d8c0cae4af7d78823d32fcd1c458ee1a1b5489 (patch)
tree57037c57d2e422028f0a13c32149c83b59c6a147 /drivers/mtd/lpddr/lpddr_cmds.c
parentmtd: sst25l: fix section markings (diff)
downloadkernel-c5d8c0cae4af7d78823d32fcd1c458ee1a1b5489.tar.gz
kernel-c5d8c0cae4af7d78823d32fcd1c458ee1a1b5489.zip
mtd: omap: fix subpage ecc issue with prefetch
When reading/writing a subpage (When HW ECC is not available/enabled) for number of bytes not aligned to 4, the mis-aligned bytes are handled first (by cpu copy method) before enabling the Prefetch engine to/from 'p'(start of buffer 'buf'). Then it reads/writes rest of the bytes with the help of Prefetch engine, if available, or again using cpu copy method. Currently, reading/writing of rest of bytes, is not done correctly since its trying to read/write again to/from begining of buffer 'buf', overwriting the mis-aligned bytes. Read & write using prefetch engine got broken in commit '2c01946c'. We never hit a scenario of not getting 'gpmc_prefetch_enable' call success. So, problem did not get caught up. Signed-off-by: Kishore Kadiyala <[email protected]> Signed-off-by: Vimal Singh <[email protected]> Reported-by: Bryan DE FARIA <[email protected]> Cc: [email protected] [2.6.35+] Signed-off-by: Artem Bityutskiy <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions