disable CONFIG_MTD_BLOCK
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 11 May 2010 11:19:46 +0000 (14:19 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Tue, 11 May 2010 11:19:46 +0000 (14:19 +0300)
We are using UBI so there is no reason to have NAND as block devices,
and there is nanddump/nandwrite to read/write if we really need to.
This also fixes read errors on boot where Angstrom peeks some mtdblock
devices which are in different ECC mode.

recipes/linux/omap3-pandora-kernel/defconfig

index d34a6f6..5491f80 100755 (executable)
@@ -544,7 +544,8 @@ CONFIG_MTD_PARTITIONS=y
 #
 CONFIG_MTD_CHAR=y
 CONFIG_MTD_BLKDEVS=y
-CONFIG_MTD_BLOCK=y
+# CONFIG_MTD_BLOCK is not set
+# CONFIG_MTD_BLOCK_RO is not set
 # CONFIG_FTL is not set
 # CONFIG_NFTL is not set
 # CONFIG_INFTL is not set