Loading drivers/mtd/nand/Kconfig +11 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,17 @@ config MTD_NAND_ECC bool depends on MTD_NAND_CORE config MTD_NAND_ECC_SW_BCH bool "Software BCH ECC engine" select BCH select MTD_NAND_ECC default n help This enables support for software BCH error correction. Binary BCH codes are more powerful and cpu intensive than traditional Hamming ECC codes. They are used with NAND devices requiring more than 1 bit of error correction. endmenu endmenu drivers/mtd/nand/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -8,3 +8,4 @@ obj-y += raw/ obj-y += spi/ nandcore-$(CONFIG_MTD_NAND_ECC) += ecc.o nandcore-$(CONFIG_MTD_NAND_ECC_SW_BCH) += ecc-sw-bch.o drivers/mtd/nand/raw/nand_bch.c→drivers/mtd/nand/ecc-sw-bch.c +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ #include <linux/bitops.h> #include <linux/mtd/mtd.h> #include <linux/mtd/rawnand.h> #include <linux/mtd/nand_bch.h> #include <linux/mtd/nand-ecc-sw-bch.h> #include <linux/bch.h> /** Loading drivers/mtd/nand/raw/Kconfig +0 −10 Original line number Diff line number Diff line Loading @@ -22,16 +22,6 @@ menuconfig MTD_RAW_NAND if MTD_RAW_NAND config MTD_NAND_ECC_SW_BCH bool "Support software BCH ECC" select BCH default n help This enables support for software BCH error correction. Binary BCH codes are more powerful and cpu intensive than traditional Hamming ECC codes. They are used with NAND devices requiring more than 1 bit of error correction. comment "Raw/parallel NAND flash controllers" config MTD_NAND_DENALI Loading drivers/mtd/nand/raw/Makefile +0 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ obj-$(CONFIG_MTD_RAW_NAND) += nand.o obj-$(CONFIG_MTD_NAND_ECC_SW_HAMMING) += nand_ecc.o nand-$(CONFIG_MTD_NAND_ECC_SW_BCH) += nand_bch.o obj-$(CONFIG_MTD_SM_COMMON) += sm_common.o obj-$(CONFIG_MTD_NAND_CAFE) += cafe_nand.o Loading Loading
drivers/mtd/nand/Kconfig +11 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,17 @@ config MTD_NAND_ECC bool depends on MTD_NAND_CORE config MTD_NAND_ECC_SW_BCH bool "Software BCH ECC engine" select BCH select MTD_NAND_ECC default n help This enables support for software BCH error correction. Binary BCH codes are more powerful and cpu intensive than traditional Hamming ECC codes. They are used with NAND devices requiring more than 1 bit of error correction. endmenu endmenu
drivers/mtd/nand/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -8,3 +8,4 @@ obj-y += raw/ obj-y += spi/ nandcore-$(CONFIG_MTD_NAND_ECC) += ecc.o nandcore-$(CONFIG_MTD_NAND_ECC_SW_BCH) += ecc-sw-bch.o
drivers/mtd/nand/raw/nand_bch.c→drivers/mtd/nand/ecc-sw-bch.c +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ #include <linux/bitops.h> #include <linux/mtd/mtd.h> #include <linux/mtd/rawnand.h> #include <linux/mtd/nand_bch.h> #include <linux/mtd/nand-ecc-sw-bch.h> #include <linux/bch.h> /** Loading
drivers/mtd/nand/raw/Kconfig +0 −10 Original line number Diff line number Diff line Loading @@ -22,16 +22,6 @@ menuconfig MTD_RAW_NAND if MTD_RAW_NAND config MTD_NAND_ECC_SW_BCH bool "Support software BCH ECC" select BCH default n help This enables support for software BCH error correction. Binary BCH codes are more powerful and cpu intensive than traditional Hamming ECC codes. They are used with NAND devices requiring more than 1 bit of error correction. comment "Raw/parallel NAND flash controllers" config MTD_NAND_DENALI Loading
drivers/mtd/nand/raw/Makefile +0 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ obj-$(CONFIG_MTD_RAW_NAND) += nand.o obj-$(CONFIG_MTD_NAND_ECC_SW_HAMMING) += nand_ecc.o nand-$(CONFIG_MTD_NAND_ECC_SW_BCH) += nand_bch.o obj-$(CONFIG_MTD_SM_COMMON) += sm_common.o obj-$(CONFIG_MTD_NAND_CAFE) += cafe_nand.o Loading