summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand_legacy/nand_legacy.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:43 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:43 +0200
commit9483df6408c25f16060432de3868901e352e23bc (patch)
tree432e228bb31753ec0306f4e51bc928172ce41d0c /drivers/mtd/nand_legacy/nand_legacy.c
parentcc4a0ceeac5462106172d0cc9d9d542233aa3ab2 (diff)
downloadu-boot-imx-9483df6408c25f16060432de3868901e352e23bc.zip
u-boot-imx-9483df6408c25f16060432de3868901e352e23bc.tar.gz
u-boot-imx-9483df6408c25f16060432de3868901e352e23bc.tar.bz2
drivers/mtd/nand_legacy: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/mtd/nand_legacy/nand_legacy.c')
-rw-r--r--drivers/mtd/nand_legacy/nand_legacy.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mtd/nand_legacy/nand_legacy.c b/drivers/mtd/nand_legacy/nand_legacy.c
index 8f7dc39..bf5565a 100644
--- a/drivers/mtd/nand_legacy/nand_legacy.c
+++ b/drivers/mtd/nand_legacy/nand_legacy.c
@@ -14,9 +14,6 @@
#include <malloc.h>
#include <asm/io.h>
#include <watchdog.h>
-
-#if defined(CONFIG_CMD_NAND) && defined(CONFIG_NAND_LEGACY)
-
#include <linux/mtd/nand_legacy.h>
#include <linux/mtd/nand_ids.h>
#include <jffs2/jffs2.h>
@@ -1608,5 +1605,3 @@ int read_jffs2_nand(size_t start, size_t len,
start, len, retlen, buf);
}
#endif /* CONFIG_JFFS2_NAND */
-
-#endif