From 3b0e761dd5008b9b87d207f9c7d7571fc880a523 Mon Sep 17 00:00:00 2001 From: Brandon Breitenstein Date: Mon, 18 Jul 2016 15:14:12 -0700 Subject: soc/intel/apollolake: Enable ELOG Add in the base for ELOG for APL. Some PM events still need to be added but the basic events are logged here. This enables the basic functionality of ELOG for Apollolake. BUG=chrome-os-partner:55473 BRANCH=none TEST=Verified image boots on Amenia Change-Id: I8682293e5a55b3efb5fdd9f1be1f3e4bf8d0757c Signed-off-by: Brandon Breitenstein Reviewed-on: https://review.coreboot.org/15937 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/soc/intel/apollolake/pmc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc/intel/apollolake/pmc.c') diff --git a/src/soc/intel/apollolake/pmc.c b/src/soc/intel/apollolake/pmc.c index 92a150ddf4..30b7677a92 100644 --- a/src/soc/intel/apollolake/pmc.c +++ b/src/soc/intel/apollolake/pmc.c @@ -137,6 +137,9 @@ static void pmc_init(struct device *dev) /* Set up GPE configuration */ pmc_gpe_init(); pch_set_acpi_mode(); + + /* Log power state */ + pch_log_state(); } static const struct device_operations device_ops = { -- cgit v1.2.3