[U-Boot] [PATCH 2/7] powerpc/85xx: do not reloc l2srbar if CONFIG_FLASH_BASE is not defined

Wolfgang Denk wd at denx.de
Tue Aug 17 07:28:02 CEST 2010


Dear Haiying Wang,

In message <1282017036.2814.19.camel at localhost.localdomain> you wrote:
>
> > > -#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. :)

Yes, of course you are right. Sorry for the stupid question.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The speed of time is one second per second.


More information about the U-Boot mailing list