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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Eric Benard <eric@xxxxxxxxxx>
---
 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



_______________________________________________
u-boot-v2 mailing list
u-boot-v2@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/u-boot-v2

[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux