Attention is currently required from: Intel coreboot Reviewers, Julius Werner, Karthik Ramasubramanian.
Hello 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 (#2).
The following approvals got outdated and were removed: 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 alongwith 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).
A weak default implementation is provided which prints an error message and halts the system if EC_GOOGLE_CHROMEEC Kconfig not present. Otherwise call into `google_chromeec_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/pmclib.c 2 files changed, 39 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/36/86336/2