From: Andy Lowe Date: Fri, 12 Jan 2007 23:05:10 +0000 (-0500) Subject: [MTD] fix CFI point method for discontiguous maps X-Git-Tag: v2.6.24-rc1~1364^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=097f2576eb7dbc8cd5f610847f229f4fea305b80;p=pandora-kernel.git [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 Signed-off-by: Nicolas Pitre Signed-off-by: David Woodhouse --- Reading git-diff-tree failed