Commit 3a5901fe authored by David Brownell's avatar David Brownell Committed by Kevin Hilman

remove ancient NAND_ECC_HWx_y symbols

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: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent 35265abf
...@@ -2671,13 +2671,6 @@ int nand_scan_tail(struct mtd_info *mtd) ...@@ -2671,13 +2671,6 @@ int nand_scan_tail(struct mtd_info *mtd)
*/ */
switch (chip->ecc.mode) { 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: case NAND_ECC_HW:
/* Use standard hwecc read page function ? */ /* Use standard hwecc read page function ? */
if (!chip->ecc.read_page) if (!chip->ecc.read_page)
......
...@@ -121,13 +121,6 @@ typedef enum { ...@@ -121,13 +121,6 @@ typedef enum {
NAND_ECC_SOFT, NAND_ECC_SOFT,
NAND_ECC_HW, NAND_ECC_HW,
NAND_ECC_HW_SYNDROME, 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; } nand_ecc_modes_t;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment