diff options
| author | Wolfgang Denk <wd@denx.de> | 2010-07-16 23:15:01 +0200 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2010-07-16 23:15:01 +0200 | 
| commit | b6c208ab1ebc2ac01e0029b8456210617ff67156 (patch) | |
| tree | 65c1252178febcb70a5fc75e67748ceec8fe96e5 /arch/powerpc/cpu/mpc85xx/cpu_init_nand.c | |
| parent | 16909f34b76e89871c0da528d6fe2ebf4e32231e (diff) | |
| parent | 9f43d7997e9c5395eed4eddd32cd75942896a412 (diff) | |
| download | olio-uboot-2014.01-b6c208ab1ebc2ac01e0029b8456210617ff67156.tar.xz olio-uboot-2014.01-b6c208ab1ebc2ac01e0029b8456210617ff67156.zip | |
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx/cpu_init_nand.c')
| -rw-r--r-- | arch/powerpc/cpu/mpc85xx/cpu_init_nand.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init_nand.c b/arch/powerpc/cpu/mpc85xx/cpu_init_nand.c index 184cca4c5..8fb27abc5 100644 --- a/arch/powerpc/cpu/mpc85xx/cpu_init_nand.c +++ b/arch/powerpc/cpu/mpc85xx/cpu_init_nand.c @@ -25,7 +25,7 @@  void cpu_init_f(void)  { -	ccsr_lbc_t *lbc = (void *)(CONFIG_SYS_MPC85xx_LBC_ADDR); +	fsl_lbc_t *lbc = LBC_BASE_ADDR;  	/*  	 * LCRR - Clock Ratio Register - set up local bus timing @@ -34,8 +34,8 @@ void cpu_init_f(void)  	out_be32(&lbc->lcrr, LCRR_DBYP | LCRR_CLKDIV_8);  #if defined(CONFIG_NAND_BR_PRELIM) && defined(CONFIG_NAND_OR_PRELIM) -	out_be32(&lbc->br0, CONFIG_NAND_BR_PRELIM); -	out_be32(&lbc->or0, CONFIG_NAND_OR_PRELIM); +	set_lbc_br(0, CONFIG_NAND_BR_PRELIM); +	set_lbc_or(0, CONFIG_NAND_OR_PRELIM);  #else  #error  CONFIG_NAND_BR_PRELIM, CONFIG_NAND_OR_PRELIM must be defined  #endif |