aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2009-05-20 10:58:01 +0200
committerStefan Roese <sr@denx.de>2009-05-23 12:51:39 +0200
commit5d841fac8249a2b3f9a814da2140132be0a9f60d (patch)
tree443875d17da9b95c034b42d92d0e500a64e96f0f /include
parent5af210c2ed5bc38e2d059d512ca4e46e81221af5 (diff)
downloadu-boot-5d841fac8249a2b3f9a814da2140132be0a9f60d.zip
u-boot-5d841fac8249a2b3f9a814da2140132be0a9f60d.tar.gz
u-boot-5d841fac8249a2b3f9a814da2140132be0a9f60d.tar.bz2
ppc4xx: Move definition for PPC4xx NAND FLASH controller to header
This patch moves the definition for the PPC4xx NAND FLASH controller (NDFC) CONFIG_NAND_NDFC into include/ppc4xx.h. This is needed for the upcoming fix for the ECC byte ordering of the NDFC driver. Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/ppc4xx.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/ppc4xx.h b/include/ppc4xx.h
index f147885..55ff323 100644
--- a/include/ppc4xx.h
+++ b/include/ppc4xx.h
@@ -46,6 +46,13 @@
#define CONFIG_SDRAM_PPC4xx_IBM_DDR2 /* IBM DDR(2) controller */
#endif
+#if defined(CONFIG_440EP) || defined(CONFIG_440GR) || \
+ defined(CONFIG_440EPX) || defined(CONFIG_440GRX) || \
+ defined(CONFIG_405EZ) || defined(CONFIG_405EX) || \
+ defined(CONFIG_460EX) || defined(CONFIG_460GT)
+#define CONFIG_NAND_NDFC
+#endif
+
/* PLB4 CrossBar Arbiter Core supported across PPC4xx families */
#if defined(CONFIG_405EX) || \
defined(CONFIG_440EP) || defined(CONFIG_440EPX) || \