summaryrefslogtreecommitdiff
path: root/common/cmd_onenand.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:38 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:38 +0200
commitd6e9ee92e890f67594ab150689510df361133ead (patch)
treed76987f91295c1e4585130f6d2f43b28fae6fa94 /common/cmd_onenand.c
parentf5acb9fd9bba1160de3ef349c7d33fe510eda286 (diff)
downloadu-boot-imx-d6e9ee92e890f67594ab150689510df361133ead.zip
u-boot-imx-d6e9ee92e890f67594ab150689510df361133ead.tar.gz
u-boot-imx-d6e9ee92e890f67594ab150689510df361133ead.tar.bz2
common: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common/cmd_onenand.c')
-rw-r--r--common/cmd_onenand.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/cmd_onenand.c b/common/cmd_onenand.c
index 419bf70..5e2062b 100644
--- a/common/cmd_onenand.c
+++ b/common/cmd_onenand.c
@@ -12,8 +12,6 @@
#include <common.h>
#include <command.h>
-#ifdef CONFIG_CMD_ONENAND
-
#include <linux/mtd/compat.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/onenand.h>
@@ -159,5 +157,3 @@ U_BOOT_CMD(
"onenand block[.oob] addr block [page] [len] - "
"read data with (block [, page]) to addr"
);
-
-#endif /* CONFIG_CMD_ONENAND */