diff mbox

remove ancient NAND_ECC_HWx_y symbols

Message ID 200906241433.09274.david-b@pacbell.net (mailing list archive)
State Accepted
Headers show

Commit Message

David Brownell June 24, 2009, 9:33 p.m. UTC
From: David Brownell <dbrownell@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 <dbrownell@users.sourceforge.net>
---
 drivers/mtd/nand/nand_base.c |    7 -------
 include/linux/mtd/nand.h     |    7 -------
 2 files changed, 14 deletions(-)


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

Comments

Kevin Hilman June 26, 2009, 4:29 p.m. UTC | #1
David Brownell <david-b@pacbell.net> writes:

> From: David Brownell <dbrownell@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 <dbrownell@users.sourceforge.net>

Thanks, pushing today.

Kevin
diff mbox

Patch

--- 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;
 
 /*