On Mon, 2010-16-08 at 12:11 +0200, Wolfgang Denk wrote:
> > 
> > diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c 
> > b/arch/powerpc/cpu/mpc85xx/cpu_init.c
> > index 2c3be6d..1fbc0cc 100644
> > --- a/arch/powerpc/cpu/mpc85xx/cpu_init.c
> > +++ b/arch/powerpc/cpu/mpc85xx/cpu_init.c
> > @@ -327,7 +327,7 @@ int cpu_init_r(void)
> >     if (l2cache->l2ctl & MPC85xx_L2CTL_L2E) {
> >             puts("already enabled");
> >             l2srbar = l2cache->l2srbar0;
> > -#ifdef CONFIG_SYS_INIT_L2_ADDR
> > +#if defined(CONFIG_SYS_INIT_L2_ADDR) && defined(CONFIG_SYS_FLASH_BASE)
> >             if (l2cache->l2ctl & MPC85xx_L2CTL_L2SRAM_ENTIRE
> >                             && l2srbar >= CONFIG_SYS_FLASH_BASE) {
> 
> Does this commit not break systems which have CONFIG_SYS_FLASH_BASE
> defined, but with l2srbar < CONFIG_SYS_FLASH_BASE ?
I did not see it breaks the system in that case. It only affects the system 
without CONFIG_SYS_FLASH_BASE defined. :)

Haiying



_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to