summaryrefslogtreecommitdiff
path: root/common/cmd_nand.c
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-10-15 10:48:18 -0500
committerScott Wood <scottwood@freescale.com>2009-11-13 16:56:14 -0600
commit581d04f14d7a39b63d418e2a21e44101233096d1 (patch)
treef9cfee07f72152f5494a144bb155fbae5dbac1c1 /common/cmd_nand.c
parent9574fd63a97d080e379f30b6a81a1221eaeb797e (diff)
downloadu-boot-imx-581d04f14d7a39b63d418e2a21e44101233096d1.zip
u-boot-imx-581d04f14d7a39b63d418e2a21e44101233096d1.tar.gz
u-boot-imx-581d04f14d7a39b63d418e2a21e44101233096d1.tar.bz2
cmd_nand: Move conditional compilation to Makefile
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'common/cmd_nand.c')
-rw-r--r--common/cmd_nand.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/cmd_nand.c b/common/cmd_nand.c
index 404ef9c..075a8af 100644
--- a/common/cmd_nand.c
+++ b/common/cmd_nand.c
@@ -10,9 +10,6 @@
#include <common.h>
#include <linux/mtd/mtd.h>
-
-#if defined(CONFIG_CMD_NAND)
-
#include <command.h>
#include <watchdog.h>
#include <malloc.h>
@@ -678,4 +675,3 @@ U_BOOT_CMD(nboot, 4, 1, do_nandboot,
"boot from NAND device",
"[partition] | [[[loadAddr] dev] offset]"
);
-#endif