[PATCH 3/3] nand_imx.c : remove unused code

Eric Benard eric at eukrea.com
Wed Dec 9 08:55:16 EST 2009


Signed-off-by: Eric Benard <eric at eukrea.com>
---
 drivers/nand/nand_imx.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/drivers/nand/nand_imx.c b/drivers/nand/nand_imx.c
index 22d1870..5c02ee0 100644
--- a/drivers/nand/nand_imx.c
+++ b/drivers/nand/nand_imx.c
@@ -977,11 +977,6 @@ static int __init imxnd_probe(struct device_d *dev)
 
 	add_mtd_device(mtd);
 
-#ifdef CONFIG_MXC_NAND_LOW_LEVEL_ERASE
-	/* Erase all the blocks of a NAND */
-	imx_low_erase(mtd);
-#endif
-
 	dev->priv = host;
 
 	return 0;
-- 
1.6.3.3






More information about the u-boot-v2 mailing list