coreboot-kgpe-d16/src
Aaron Durbin 16bd2676ce 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@chromium.org>
Reviewed-on: https://review.coreboot.org/17767
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Andrey Petrov <andrey.petrov@intel.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2016-12-08 21:38:48 +01:00
..
acpi
arch buildsystem: Drop explicit (k)config.h includes 2016-12-08 19:46:53 +01:00
commonlib buildsystem: Drop explicit (k)config.h includes 2016-12-08 19:46:53 +01:00
console Hook up libhwbase in ramstage 2016-11-29 23:45:40 +01:00
cpu buildsystem: Drop explicit (k)config.h includes 2016-12-08 19:46:53 +01:00
device buildsystem: Drop explicit (k)config.h includes 2016-12-08 19:46:53 +01:00
drivers buildsystem: Drop explicit (k)config.h includes 2016-12-08 19:46:53 +01:00
ec buildsystem: Drop explicit (k)config.h includes 2016-12-08 19:46:53 +01:00
include bootstate: add arch specific hook at coreboot exit 2016-12-08 21:38:48 +01:00
lib bootstate: add arch specific hook at coreboot exit 2016-12-08 21:38:48 +01:00
mainboard mainboard/google/reef: Set PL2 override to 15000mW 2016-12-08 16:13:38 +01:00
northbridge buildsystem: Drop explicit (k)config.h includes 2016-12-08 19:46:53 +01:00
soc soc/intel/apollolake: Set PL2 in RAPL register 2016-12-08 16:13:23 +01:00
southbridge buildsystem: Drop explicit (k)config.h includes 2016-12-08 19:46:53 +01:00
superio sio/ite/it8783ef: New super i/o chip 2016-12-07 20:02:17 +01:00
vboot commonlib/include: remove NEED_VB20_INTERNALS 2016-11-19 16:57:27 +01:00
vendorcode buildsystem: Drop explicit (k)config.h includes 2016-12-08 19:46:53 +01:00
Kconfig PCI ops: MMCONF_SUPPORT_DEFAULT is required 2016-12-07 12:59:28 +01:00