|
@@ -2,11 +2,23 @@ menuconfig MTD_NAND
|
|
|
tristate "NAND Device Support"
|
|
|
depends on MTD
|
|
|
select MTD_NAND_IDS
|
|
|
+ select MTD_NAND_ECC
|
|
|
help
|
|
|
This enables support for accessing all type of NAND flash
|
|
|
devices. For further information see
|
|
|
<http://www.linux-mtd.infradead.org/doc/nand.html>.
|
|
|
|
|
|
+config MTD_NAND_ECC
|
|
|
+ tristate
|
|
|
+
|
|
|
+config MTD_NAND_ECC_SMC
|
|
|
+ bool "NAND ECC Smart Media byte order"
|
|
|
+ depends on MTD_NAND_ECC
|
|
|
+ default n
|
|
|
+ help
|
|
|
+ Software ECC according to the Smart Media Specification.
|
|
|
+ The original Linux implementation had byte 0 and 1 swapped.
|
|
|
+
|
|
|
if MTD_NAND
|
|
|
|
|
|
config MTD_NAND_VERIFY_WRITE
|
|
@@ -18,13 +30,6 @@ config MTD_NAND_VERIFY_WRITE
|
|
|
device thinks the write was successful, a bit could have been
|
|
|
flipped accidentally due to device wear or something else.
|
|
|
|
|
|
-config MTD_NAND_ECC_SMC
|
|
|
- bool "NAND ECC Smart Media byte order"
|
|
|
- default n
|
|
|
- help
|
|
|
- Software ECC according to the Smart Media Specification.
|
|
|
- The original Linux implementation had byte 0 and 1 swapped.
|
|
|
-
|
|
|
config MTD_SM_COMMON
|
|
|
tristate
|
|
|
default n
|