From: Brian Norris Date: Sat, 14 Jan 2012 02:11:48 +0000 (-0800) Subject: mtd: nand: fix SCAN2NDPAGE check for BBM X-Git-Tag: v3.4-rc1~16^2~113 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdbec0508699e3346052bf098c5c330a711a86a9;p=pandora-kernel.git mtd: nand: fix SCAN2NDPAGE check for BBM nand_block_bad() doesn't check the correct pages when NAND_BBT_SCAN2NDPAGE is enabled. It should scan both the OOB region of both the 1st and 2nd page of each block. Signed-off-by: Brian Norris Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed