On Sat, Jan 09, 2010 at 04:27:00PM +0100, Patrick Georgi wrote:
Intel and AMD CAR use an automatically adapted variable to retarget the XIP area (without changing to change the size):
[...]
I'm not sure at which point XIP is configured on your system, maybe this helps.
Thanks. Looks like the equivalent should be added to do_early_mtrr_init() in src/cpu/x86/mtrr/earlymtrr.c.
I had hacked rom caching into entry16.inc (which tinybootblock still uses), but I no longer think doing that is a good idea.
I think having some documentation on what each coreboot phase does would help here. In particular, documenting what gets cached in each phase would be useful. I'll send a separate email.
-Kevin