diff options
author | Stefan Roese <sr@denx.de> | 2007-05-24 09:50:17 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-05-24 09:50:17 +0200 |
commit | 7d075ee1d8cfcab9dd5b356816f17d013498cc62 (patch) | |
tree | 2092dcd7ad5b633e95bbcc047212cc6ba1975cc0 /cpu | |
parent | d756894722c888d09a9fa1df8323753772d3dcce (diff) | |
parent | 5d4a179013d59a76446462e1eb0a969fba63eb81 (diff) | |
download | u-boot-imx-7d075ee1d8cfcab9dd5b356816f17d013498cc62.zip u-boot-imx-7d075ee1d8cfcab9dd5b356816f17d013498cc62.tar.gz u-boot-imx-7d075ee1d8cfcab9dd5b356816f17d013498cc62.tar.bz2 |
Merge with /home/stefan/git/u-boot/acadia-nand
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/ppc4xx/ndfc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpu/ppc4xx/ndfc.c b/cpu/ppc4xx/ndfc.c index b198ff4..08dfc32 100644 --- a/cpu/ppc4xx/ndfc.c +++ b/cpu/ppc4xx/ndfc.c @@ -33,12 +33,13 @@ #if (CONFIG_COMMANDS & CFG_CMD_NAND) && !defined(CFG_NAND_LEGACY) && \ (defined(CONFIG_440EP) || defined(CONFIG_440GR) || \ - defined(CONFIG_440EPX) || defined(CONFIG_440GRX)) + defined(CONFIG_440EPX) || defined(CONFIG_440GRX) || \ + defined(CONFIG_405EZ)) #include <nand.h> #include <linux/mtd/ndfc.h> #include <asm/processor.h> -#include <ppc440.h> +#include <ppc4xx.h> static u8 hwctl = 0; @@ -176,8 +177,7 @@ int board_nand_init(struct nand_chip *nand) /* * Setup EBC (CS0 only right now) */ - mtdcr(ebccfga, xbcfg); - mtdcr(ebccfgd, 0xb8400000); + mtebc(EBC0_CFG, 0xb8400000); mtebc(pb0cr, CFG_EBC_PB0CR); mtebc(pb0ap, CFG_EBC_PB0AP); |