Sumeet R Pawnikar has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/59537 )
Change subject: mb/google/brya: Add get powerinfo support for ec ......................................................................
mb/google/brya: Add get powerinfo support for ec
Add get powerinfo support under acpi for ec for Alder Lake based brya system.
BUG=b:205928013 BRANCH=None TEST=Build and test on brya system
Change-Id: I7e7dc64fd1602180230f3e5fd3c13558a37f3f07 Signed-off-by: Sumeet Pawnikar sumeet.r.pawnikar@intel.com --- M src/mainboard/google/brya/ec.c 1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/37/59537/1
diff --git a/src/mainboard/google/brya/ec.c b/src/mainboard/google/brya/ec.c index 6d0c426..eb8c387 100644 --- a/src/mainboard/google/brya/ec.c +++ b/src/mainboard/google/brya/ec.c @@ -4,10 +4,12 @@ #include <console/console.h> #include <ec/ec.h> #include <ec/google/chromeec/ec.h> +#include <ec/google/chromeec/ec_commands.h> #include <variant/ec.h>
void mainboard_ec_init(void) { + int ret; static const struct google_chromeec_event_info info = { .log_events = MAINBOARD_EC_LOG_EVENTS, .sci_events = MAINBOARD_EC_SCI_EVENTS, @@ -19,4 +21,7 @@ printk(BIOS_ERR, "mainboard: EC init\n");
google_chromeec_events_init(&info, acpi_is_wakeup_s3()); + + /* Get the powerinfo config details */ + ret = google_chromeec_get_powerinfo_config(); }