[coreboot] domain vs device statictree order

Peter Stuge peter at stuge.se
Thu Jan 8 02:11:44 CET 2009


Myles Watson wrote:
> This patch implements preorder traversal for Phase 2 and Phase 6, and prints a
> warning that Phase 1 is obsolete if anyone implements one.
> 
> The only difference between the Phase 2 and Phase 6 implementations is
> that phase2_fixup is always called if it's defined, but phase6_init is
> only called if the device is enabled.
> 
> Note that any devices not found in the tree will not have their init
> functions called with this patch.  I think that's a good thing, but it
> will require some dts fixes.
> 
> Boot tested on Serengeti and qemu.
> 
> Signed-off-by: Myles Watson <mylesgw at gmail.com>

Acked-by: Peter Stuge <peter at stuge.se>




More information about the coreboot mailing list