summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2009-07-16 15:13:04 +0200
committerScott Wood <scottwood@freescale.com>2009-07-16 17:52:03 -0500
commitf2f376ab956c17d4a0c42a993133ca25cdc87278 (patch)
treeef96e6aa90faa77603968a0cc74a4721e2ad6682 /drivers/mtd
parent12582ac771b0bf3852817c3bfa4be326522a0665 (diff)
downloadu-boot-imx-f2f376ab956c17d4a0c42a993133ca25cdc87278.zip
u-boot-imx-f2f376ab956c17d4a0c42a993133ca25cdc87278.tar.gz
u-boot-imx-f2f376ab956c17d4a0c42a993133ca25cdc87278.tar.bz2
nand: ndfc: Remove unnecessary #ifdef's
Now that the 4xx NAND driver ndfc is moved to the common NAND driver directory we don't need this #ifdef's anymore. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Scott Wood <scottwood@freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/ndfc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/mtd/nand/ndfc.c b/drivers/mtd/nand/ndfc.c
index 971e2ae..528b22b 100644
--- a/drivers/mtd/nand/ndfc.c
+++ b/drivers/mtd/nand/ndfc.c
@@ -30,10 +30,6 @@
*/
#include <common.h>
-
-#if defined(CONFIG_CMD_NAND) && !defined(CONFIG_NAND_LEGACY) && \
- defined(CONFIG_NAND_NDFC)
-
#include <nand.h>
#include <linux/mtd/ndfc.h>
#include <linux/mtd/nand_ecc.h>
@@ -219,5 +215,3 @@ int board_nand_init(struct nand_chip *nand)
return 0;
}
-
-#endif