On 10/17/10 8:56 PM, Carl-Daniel Hailfinger wrote:
It would help a lot with SATA link init. That is the biggest time waster (few seconds) on my RS690/SB600 box because apparently my HDD only completes link init after spinup. Kicking it early and polling for it very late would allow coreboot to do something useful in between.
We generally do a lot of waiting.. keyboard controller, azalia, cpu init, and others too. Try searching the code for mdelay and udelay.
Being able to register a callback which is called directly before payload execution would be the simplest way to do this.
what function would one register there?