Merge with /home/m8/git/u-boot
[oweals/u-boot.git] / board / delta / nand.c
index 5d2cd6585f64a16bcd69d880ef1786bc71876314..fe648fc1ff89ba2428d118d40b43af253c7beb18 100644 (file)
@@ -23,7 +23,7 @@
 #include <common.h>
 
 #if (CONFIG_COMMANDS & CFG_CMD_NAND)
-#ifdef CONFIG_NEW_NAND_CODE
+#if !defined(CFG_NAND_LEGACY)
 
 #include <nand.h>
 #include <asm/arch/pxa-regs.h>