Attention is currently required from: Angel Pons.
1 comment:
File src/northbridge/intel/sandybridge/raminit.c:
Patch Set #15, Line 466: setup_romstage_wb_cbmem_cache(8 * MiB);
Ah, then I'd look into providing a x86-specific helper function. I'd also encapsulate the cbmem_was_inited thing, while at it. Note that CB:50967 touches related stuff.
So ideally you'd reuse some of the postcar MTRR setup to speed up operation on cbmem. One difference is however that romstage already has some MTRR in use so that might not always works. Maybe adding a helper to return an MTRR config array to cover a certain range just like how things are done with the postcar frame could come in handy here.
To view, visit change 37200. To unsubscribe, or for help writing mail filters, visit settings.