commit | cdbec0508699e3346052bf098c5c330a711a86a9 | [log] [tgz] |
---|---|---|
author | Brian Norris <computersforpeace@gmail.com> | Fri Jan 13 18:11:48 2012 -0800 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Tue Mar 27 00:11:50 2012 +0100 |
tree | fa354f87911bf1929c7c04925900c8523eb6722f | |
parent | 009184296d957d864d6fa9ac2dd192d29e069878 [diff] |
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 <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>