summaryrefslogtreecommitdiff
path: root/board/delta/nand.c
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2006-04-08 19:08:06 +0200
committerMarian Balakowicz <m8@semihalf.com>2006-04-08 19:08:06 +0200
commit6db39708117d6391a72f3fc3ea7860231b630270 (patch)
tree1c69fc84c3f615fe60217096c2947744c72e3528 /board/delta/nand.c
parent2fc000d756920b340945a74ec1214a34d9e84858 (diff)
downloadu-boot-imx-6db39708117d6391a72f3fc3ea7860231b630270.zip
u-boot-imx-6db39708117d6391a72f3fc3ea7860231b630270.tar.gz
u-boot-imx-6db39708117d6391a72f3fc3ea7860231b630270.tar.bz2
Fix JFFS2 support for legacy NAND driver.
Some more NAND cleanup and small fixes.
Diffstat (limited to 'board/delta/nand.c')
-rw-r--r--board/delta/nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/delta/nand.c b/board/delta/nand.c
index c4df6e5..7982548 100644
--- a/board/delta/nand.c
+++ b/board/delta/nand.c
@@ -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>