summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx
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/ppc4xx
parentefa20585b3ccfdde431c19c6a9d9d8dae46fe5bb (diff)
downloadu-boot-imx-2d658967e1c0c75206fd218cf8bdb99022b4026a.zip
u-boot-imx-2d658967e1c0c75206fd218cf8bdb99022b4026a.tar.gz
u-boot-imx-2d658967e1c0c75206fd218cf8bdb99022b4026a.tar.bz2
Fix build problem cpu/ppc4xx/ndfc.c
Patch by Stefan Roese, 07 Sep 2006
Diffstat (limited to 'cpu/ppc4xx')
-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 e4ab326..c255f93 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>