From: David Brownell <dbrown...@users.sourceforge.net>

Remove some remnants of ancient NAND code that have been
lingering in the DaVinci tree ... so this tree is a closer
match to mainline.

Signed-off-by: David Brownell <dbrown...@users.sourceforge.net>
---
 drivers/mtd/nand/nand_base.c |    7 -------
 include/linux/mtd/nand.h     |    7 -------
 2 files changed, 14 deletions(-)

--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -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)
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -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;
 
 /*

_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to