Attention is currently required from: Angel Pons, Intel coreboot Reviewers, Karthik Ramasubramanian, Subrata Banik.
Hello Angel Pons, Intel coreboot Reviewers, Julius Werner, Karthik Ramasubramanian, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/86336?usp=email
to look at the new patch set (#4).
The following approvals got outdated and were removed: Code-Review+1 by Angel Pons, Verified+1 by build bot (Jenkins)
Change subject: soc/intel/cmn/pmc: Add support for early power off ......................................................................
soc/intel/cmn/pmc: Add support for early power off
This commit adds support for early power off on Intel platforms along with existing PMC based implementation to support power off at later stage (like ramsatge).
A new function, `platform_do_early_poweroff`, is added to the pmclib to handle platform-specific early power off procedures. This function is called before memory initialization (in romstage or earlier).
Platform that supports early power off (using PLATFORM_SUPPORTS_EARLY_POWEROFF Kconfig) needs to implement `platform_do_early_poweroff()` to power off the platform.
BUG=b:339673254 TEST=Able to build and boot google/brox.
Change-Id: I39f516640b3f75ab4c6a09826922289c0533f79b Signed-off-by: Subrata Banik subratabanik@google.com --- M src/soc/intel/common/block/include/intelblocks/pmclib.h M src/soc/intel/common/block/pmc/Kconfig M src/soc/intel/common/block/pmc/pmclib.c 3 files changed, 51 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/36/86336/4