From: Roman Tereshonkov Date: Thu, 2 Dec 2010 13:28:38 +0000 (+0200) Subject: mtd: onenand: bugfix for 2x mode bad block handling X-Git-Tag: v2.6.38-rc1~21^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01039e4e63a8ea0d66fcfc71d7b99769bbbed9d6;p=pandora-kernel.git mtd: onenand: bugfix for 2x mode bad block handling This bug becomes visible in 2x mode when chip->writesize is different from mtd->writesize (= 2 * chip->writesize). At this case the bad block information is read from the first and the third physical pages instead of the first and the second as specification states. Signed-off-by: Roman Tereshonkov Acked-by: Kyungmin Park Signed-off-by: David Woodhouse --- Reading git-diff-tree failed