diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-08-13 01:40:42 +0200 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-08-13 01:40:42 +0200 |
commit | 4fb09b81920e5dfdfc4576883186733f0bd6059c (patch) | |
tree | 2c78a7e50edac0f91614d6b3c8bd16a859126595 /drivers/mtd/onenand/onenand_bbt.c | |
parent | 00b1883a4cac59d97cd297b1a3a398db85982865 (diff) | |
download | u-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_bbt.c')
-rw-r--r-- | drivers/mtd/onenand/onenand_bbt.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mtd/onenand/onenand_bbt.c b/drivers/mtd/onenand/onenand_bbt.c index 87344ab..0abaa1a 100644 --- a/drivers/mtd/onenand/onenand_bbt.c +++ b/drivers/mtd/onenand/onenand_bbt.c @@ -15,9 +15,6 @@ */ #include <common.h> - -#ifdef CONFIG_CMD_ONENAND - #include <linux/mtd/compat.h> #include <linux/mtd/mtd.h> #include <linux/mtd/onenand.h> @@ -261,5 +258,3 @@ int onenand_default_bbt(struct mtd_info *mtd) return onenand_scan_bbt(mtd, bbm->badblock_pattern); } - -#endif /* CFG_CMD_ONENAND */ |