@@ -2671,13 +2671,6 @@ int nand_scan_tail(struct mtd_info *mtd)
*/
switch (chip->ecc.mode) {
-#ifdef CONFIG_NAND_FLASH_HW_ECC
- case NAND_ECC_HW12_2048:
- case NAND_ECC_HW8_512:
- case NAND_ECC_HW6_512:
- case NAND_ECC_HW3_512:
- case NAND_ECC_HW3_256:
-#endif
case NAND_ECC_HW:
/* Use standard hwecc read page function ? */
if (!chip->ecc.read_page)
@@ -121,13 +121,6 @@ typedef enum {
NAND_ECC_SOFT,
NAND_ECC_HW,
NAND_ECC_HW_SYNDROME,
-#ifdef CONFIG_NAND_FLASH_HW_ECC
- NAND_ECC_HW3_256,
- NAND_ECC_HW3_512,
- NAND_ECC_HW6_512,
- NAND_ECC_HW8_512,
- NAND_ECC_HW12_2048,
-#endif
} nand_ecc_modes_t;
/*