[coreboot] [RFC] Getting CAR to work on P6 family; Port SECC P6 L2 cache initialization code to where?

Stefan Reinauer stepan at coresystems.de
Sun May 9 12:58:16 CEST 2010


On 5/9/10 7:33 AM, Keith Hui wrote:
> Joseph OTOH suggests that I should port this code into
> cache_as_ram.inc which is much earlier, actually before motherboard
> romstage. This code is assembly, meaning I'll need to port this thing
> back to assembly.
>
> Question is: Where should I port this code to? CPU driver, or cache_as_ram.inc?
>
>   
If there are no penalties for putting it in the CPU driver, put it
there. If you run without cache until the CPU driver is executed
otherwise (and that makes a measurable difference of several ms) you
might want to do this earlier

Stefan




More information about the coreboot mailing list