summaryrefslogtreecommitdiff
path: root/drivers/mtd/onenand/onenand_uboot.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:42 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:42 +0200
commit4fb09b81920e5dfdfc4576883186733f0bd6059c (patch)
tree2c78a7e50edac0f91614d6b3c8bd16a859126595 /drivers/mtd/onenand/onenand_uboot.c
parent00b1883a4cac59d97cd297b1a3a398db85982865 (diff)
downloadu-boot-imx-4fb09b81920e5dfdfc4576883186733f0bd6059c.zip
u-boot-imx-4fb09b81920e5dfdfc4576883186733f0bd6059c.tar.gz
u-boot-imx-4fb09b81920e5dfdfc4576883186733f0bd6059c.tar.bz2
drivers/mtd/onenand: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/mtd/onenand/onenand_uboot.c')
-rw-r--r--drivers/mtd/onenand/onenand_uboot.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mtd/onenand/onenand_uboot.c b/drivers/mtd/onenand/onenand_uboot.c
index bd7466a..d614450 100644
--- a/drivers/mtd/onenand/onenand_uboot.c
+++ b/drivers/mtd/onenand/onenand_uboot.c
@@ -14,9 +14,6 @@
*/
#include <common.h>
-
-#ifdef CONFIG_CMD_ONENAND
-
#include <linux/mtd/compat.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/onenand.h>
@@ -37,5 +34,3 @@ void onenand_init(void)
puts("OneNAND: ");
print_size(onenand_mtd.size, "\n");
}
-
-#endif /* CONFIG_CMD_ONENAND */