From 2ad441bb7e78cc789a9551b38c676a6f3e8a5dc3 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Wed, 5 Feb 2020 12:30:07 +0100 Subject: 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 --- drivers/mtd/nand/Makefile | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/mtd/nand/Makefile') 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 -- cgit v1.2.3