the following patch was just integrated into master: commit 7e35efa83cdd6240e4f9282cc4d2703c40d472d5 Author: Aaron Durbin adurbin@chromium.org Date: Wed Apr 24 15:14:01 2013 -0500
ramstage: introduce boot state machine
The boot flow currently has a fixed ordering. The ordering is dictated by the device tree and on x86 the PCI device ordering for when actions are performed. Many of the new machines and configurations have dependencies that do not follow the device ordering.
In order to be more flexible the concept of a boot state machine is introduced. At the boundaries (entry and exit) of each state there is opportunity to run callbacks. This ability allows one to schedule actions to be performed without adding board-specific code to the shared boot flow.
Change-Id: I757f406c97445f6d9b69c003bb9610b16b132aa6 Signed-off-by: Aaron Durbin adurbin@chromium.org Reviewed-on: http://review.coreboot.org/3132 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich rminnich@gmail.com
Build-Tested: build bot (Jenkins) at Mon Apr 29 23:32:50 2013, giving +1 Reviewed-By: Ronald G. Minnich rminnich@gmail.com at Wed May 1 07:04:46 2013, giving +2 See http://review.coreboot.org/3132 for details.
-gerrit