summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/diskonchip.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2011-06-01 01:31:20 +0200
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-09-11 14:01:46 +0200
commita0dc552951dcbb2b28a8a2ffb5fa966613e8c025 (patch)
tree62c71971d00f60fedcb5b265614c8925493877ad /drivers/mtd/nand/diskonchip.c
parentmtd: onenand: return proper error if regulator_get fails (diff)
downloadlinux-a0dc552951dcbb2b28a8a2ffb5fa966613e8c025.tar.xz
linux-a0dc552951dcbb2b28a8a2ffb5fa966613e8c025.zip
mtd: nand: remove NAND_BBT_SCANBYTE1AND6 option
This patch reverts most of: commit 58373ff0afff4cc8ac40608872995f4d87eb72ec mtd: nand: more BB Detection refactoring and dynamic scan options According to the discussion at: http://lists.infradead.org/pipermail/linux-mtd/2011-May/035696.html the NAND_BBT_SCANBYTE1AND6 flag, although technically valid, can break some existing ECC layouts that use the 6th byte in the OOB for ECC data. Furthermore, we apparently do not need to scan both bytes 1 and 6 in the OOB region of the devices under consideration; instead, we only need to scan one or the other. Thus, the NAND_BBT_SCANBYTE1AND6 flag is at best unnecessary and at worst a regression. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/nand/diskonchip.c')
0 files changed, 0 insertions, 0 deletions