]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_nand.c
cmd_nand: Move conditional compilation to Makefile
[people/ms/u-boot.git] / common / cmd_nand.c
index 404ef9cf78849eae186a585bc224a118586f2655..075a8afb60a4c22494095d80be9e74c11dba732d 100644 (file)
@@ -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