]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: fsl_elbc_nand: remove unnecessary badblock_pattern
authorBrian Norris <computersforpeace@gmail.com>
Wed, 26 Sep 2012 23:15:27 +0000 (16:15 -0700)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 10 Oct 2012 14:38:14 +0000 (17:38 +0300)
commita7c19936c14286d7b69bdbbe65c5bbc3f19c6f03
tree0838e72ee7e097957654a48447cd842bd3ac0851
parent03ba2bfe44c1e7bfcd628b08242370c3f0e3feb0
mtd: fsl_elbc_nand: remove unnecessary badblock_pattern

Since the introduction of nand_create_default_bbt_descr() (now known as
nand_create_badblock_pattern()) in

  commit 58373ff0afff4cc8ac40608872995f4d87eb72ec

nand_chip.badblock_pattern will be dynamically calculated to the same
1-byte-length pattern that is required by fsl_elbc_nand. This custom
badblock_pattern is no longer needed, then, and its removal may help
facilitate further nand_bbt.c/nand_base.c cleanup in the future (one
down, many to go?)

Anyway, with nand_bbt.c fixed, this effectively reverts:

  commit 452db2724351ff3d9416a183a7955e00ab4e6ab4
  [MTD] [NAND] fsl_elbc_nand: fix OOB workability for large page NAND chips

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Cc: Scott Wood <scottwood@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/nand/fsl_elbc_nand.c