path: root/drivers/mtd/nand/Makefile
diff options
authorSascha Hauer <>2020-02-05 12:30:07 +0100
committerSascha Hauer <>2020-02-05 14:34:09 +0100
commit2ad441bb7e78cc789a9551b38c676a6f3e8a5dc3 (patch)
treed993408fecf8227675d44b92b7692b60c8292cab /drivers/mtd/nand/Makefile
parentf75d80d63e50efb0ab35b11ecdad2b917a5758a8 (diff)
mtd: nand-imx: Create BBT automatically when necessary
Due to the differences of the logical page format and the raw page format on NAND the generic nand support can't read the bad block marker on the NAND. For this reason we have the imx_nand_bbm command which knows about these specialities and creates a BBT. The problem with this command is that one has to call it and experience shows this is often forgotten. Linux will then create a BBT based on wrong informations and the real bad blocks may be lost. With this patch we automatically create a BBT when none is found and make the command unnecssary. Signed-off-by: Sascha Hauer <>
Diffstat (limited to 'drivers/mtd/nand/Makefile')
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile
index a4066ba778..274bc29ee7 100644
--- a/drivers/mtd/nand/Makefile
+++ b/drivers/mtd/nand/Makefile
@@ -8,7 +8,6 @@ obj-$(CONFIG_NAND_BBT) += nand_bbt.o
obj-$(CONFIG_MTD_NAND_NOMADIK) += nomadik_nand.o
obj-$(CONFIG_NAND_IMX) += nand_imx.o
-obj-$(CONFIG_NAND_IMX_BBM) += nand_imx_bbm.o
obj-$(CONFIG_NAND_OMAP_GPMC) += nand_omap_gpmc.o nand_omap_bch_decoder.o
obj-$(CONFIG_MTD_NAND_OMAP_ELM) += omap_elm.o
obj-$(CONFIG_NAND_ORION) += nand_orion.o