[coreboot-gerrit] Patch merged into coreboot/master: bootstate: add arch specific hook at coreboot exit

gerrit at coreboot.org gerrit at coreboot.org
Thu Dec 8 21:38:52 CET 2016


the following patch was just integrated into master:
commit 16bd2676ce1dcec342de19640c45bd7216ba70f1
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Wed Dec 7 11:58:20 2016 -0600

    bootstate: add arch specific hook at coreboot exit
    
    The bootstate machine allows one to schedule work at the
    boundaries of each state. However, there are no priorities by
    design. As such if there are things that need to be performed
    that are interdependent between callbacks there's no way to
    do that aside from explicitly putting the call in one of the
    callbacks.
    
    This situation arises around BS_OS_RESUME, BS_PAYLOAD_LOAD,
    and BS_PAYLOAD_BOOT as those are the states where coreboot is
    about to exit. As such, provide an architecture specific hook
    at these key places so that one is guaranteed any work done
    in arch_bootstate_coreboot_exit() is after all callbacks in
    the state machine.
    
    BUG=chrome-os-partner:60657
    BRANCH=reef
    
    Change-Id: Icb4afb341ab15af0670501b9d21799e564fb32c6
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
    Reviewed-on: https://review.coreboot.org/17767
    Tested-by: build bot (Jenkins)
    Reviewed-by: Duncan Laurie <dlaurie at chromium.org>
    Reviewed-by: Andrey Petrov <andrey.petrov at intel.com>
    Reviewed-by: Furquan Shaikh <furquan at google.com>
    Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>


See https://review.coreboot.org/17767 for details.

-gerrit



More information about the coreboot-gerrit mailing list