Cache On and ECC clear

Li-Ta Lo ollie at lanl.gov
Fri Mar 26 17:01:00 CET 2004


On Fri, 2004-03-26 at 01:06, Eric W. Biederman wrote:
> Li-Ta Lo <ollie at lanl.gov> writes:
> 
> > Eric,
> > 
> > I tried to call cache_on() first than the cpufixeup()
> > in cpu.c to fix the "slow ecc clear" problem. It still
> > works that way. Is there any reason we can't do this ?
> 
> Hmm.  I don't see this.  I have the cache on and things
> clear quite quickly.  I may have a slightly different calling
> order then the standard tree.  
> 
> Ollie can you compare what is checked into the tree with 
> the last release I did for Lightning?  It works there...
> 

BTW, why are you using inline asm to clearing the memory ?
Isn't it just one line in C to clear the memory ? Why not use
string instruction instead of mov ?

Ollie

> Eric
> 




More information about the coreboot mailing list