]> git.sur5r.net Git - u-boot/blobdiff - common/cmd_nand.c
Merge branch 'next' of ../next
[u-boot] / common / cmd_nand.c
index 158a55fa705db7534708df308938215b564fa97a..075a8afb60a4c22494095d80be9e74c11dba732d 100644 (file)
@@ -9,18 +9,7 @@
  */
 
 #include <common.h>
-
-
-/*
- *
- * New NAND support
- *
- */
-#include <common.h>
 #include <linux/mtd/mtd.h>
-
-#if defined(CONFIG_CMD_NAND)
-
 #include <command.h>
 #include <watchdog.h>
 #include <malloc.h>
@@ -686,4 +675,3 @@ U_BOOT_CMD(nboot, 4, 1, do_nandboot,
        "boot from NAND device",
        "[partition] | [[[loadAddr] dev] offset]"
 );
-#endif