aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/pmc.c
diff options
context:
space:
mode:
authorBrandon Breitenstein <brandon.breitenstein@intel.com>2016-07-18 15:14:12 -0700
committerAaron Durbin <adurbin@chromium.org>2016-08-25 23:51:27 +0200
commit3b0e761dd5008b9b87d207f9c7d7571fc880a523 (patch)
tree4289c2368848b428ddd1da9cc247650bc75fcd2f /src/soc/intel/apollolake/pmc.c
parentde9fed4c2a6014b25042899e199cfe9a6115b52e (diff)
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 <brandon.breitenstein@intel.com> Reviewed-on: https://review.coreboot.org/15937 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/soc/intel/apollolake/pmc.c')
-rw-r--r--src/soc/intel/apollolake/pmc.c3
1 files changed, 3 insertions, 0 deletions
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 = {