summaryrefslogtreecommitdiffstats
path: root/cpu
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2006-09-07 13:09:53 +0200
committerStefan Roese <sr@denx.de>2006-09-07 13:09:53 +0200
commit2d658967e1c0c75206fd218cf8bdb99022b4026a (patch)
tree41f6af6868466d8b11421924e82213b79eabab9f /cpu
parentefa20585b3ccfdde431c19c6a9d9d8dae46fe5bb (diff)
downloadbarebox-2d658967e1c0c75206fd218cf8bdb99022b4026a.tar.gz
barebox-2d658967e1c0c75206fd218cf8bdb99022b4026a.tar.xz
Fix build problem cpu/ppc4xx/ndfc.c
Patch by Stefan Roese, 07 Sep 2006
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ppc4xx/ndfc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpu/ppc4xx/ndfc.c b/cpu/ppc4xx/ndfc.c
index e4ab326bbf..c255f93e6b 100644
--- a/cpu/ppc4xx/ndfc.c
+++ b/cpu/ppc4xx/ndfc.c
@@ -31,7 +31,9 @@
#include <common.h>
-#if (CONFIG_COMMANDS & CFG_CMD_NAND) && !defined(CFG_NAND_LEGACY)
+#if (CONFIG_COMMANDS & CFG_CMD_NAND) && !defined(CFG_NAND_LEGACY) && \
+ (defined(CONFIG_440EP) || defined(CONFIG_440GR) || \
+ defined(CONFIG_440EPX) || defined(CONFIG_440GRX))
#include <nand.h>
#include <linux/mtd/ndfc.h>