summaryrefslogtreecommitdiff
path: root/board/delta
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
parent2fc000d756920b340945a74ec1214a34d9e84858 (diff)
Fix JFFS2 support for legacy NAND driver.
Some more NAND cleanup and small fixes.
Diffstat (limited to 'board/delta')
-rw-r--r--board/delta/config.mk3
-rw-r--r--board/delta/nand.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/board/delta/config.mk b/board/delta/config.mk
index 9564625478e..61828bba996 100644
--- a/board/delta/config.mk
+++ b/board/delta/config.mk
@@ -3,6 +3,3 @@
#TEXT_BASE = 0xa3080000
#TEXT_BASE = 0x9ffe0000
TEXT_BASE = 0xa3008000
-
-# Compile the new NAND code (needed iff #ifdef CONFIG_NEW_NAND_CODE)
-BOARDLIBS = drivers/nand/libnand.a
diff --git a/board/delta/nand.c b/board/delta/nand.c
index c4df6e57eb7..7982548861e 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>