diff options
author | Andy Lowe <alowe@mvista.com> | 2007-01-12 18:05:10 -0500 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-09-23 18:40:49 +0100 |
commit | 097f2576eb7dbc8cd5f610847f229f4fea305b80 (patch) | |
tree | 809809fbaa7b99d1942ef7583920f17e4f1f1e9d /drivers/mtd/nand/ppchameleonevb.c | |
parent | e644f7d6289456657996df4192de76c5d0a9f9c7 (diff) |
[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>
Diffstat (limited to 'drivers/mtd/nand/ppchameleonevb.c')
0 files changed, 0 insertions, 0 deletions