]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: gpmi: prevent creating a new BBT when blockmark swapping is disabled
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 12 Jun 2014 11:40:13 +0000 (13:40 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 20 Aug 2014 08:08:23 +0000 (10:08 +0200)
commit90e42971ef6f4505fa84bef649e282e05f93c992
treef2810c30ce2810b29424b6c957d045c2dc8af608
parent104a8a96bd10e3e46c46c80c0efd153d9172f6c8
mtd: gpmi: prevent creating a new BBT when blockmark swapping is disabled

Without blockmark swapping, there is no use in creating a BBT from
scratch, so use a BBT descriptor with NAND_BBT_CREATE unset in this
case.
drivers/mtd/nand/gpmi-nand/gpmi-nand.c