diff options
author | Furquan Shaikh <furquan@chromium.org> | 2017-10-11 14:44:29 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2017-10-12 22:13:39 +0000 |
commit | c4e652ff572d7eea3bbbae21825d0085e294cb98 (patch) | |
tree | 7a9a5ad7d0374742bb7ac091dc4f2814795e47ad /src/soc/intel/apollolake/pmc.c | |
parent | bbd5ee4187dd5b85a8ccf6de28b24a70c0343174 (diff) | |
download | coreboot-c4e652ff572d7eea3bbbae21825d0085e294cb98.tar.xz |
soc/intel/common: Clean up PMC library GPE handling API
1. Update gpe handling function names to explicitly mention if they
are operating on:
a. STD GPE events
b. GPIO GPE events
c. Both
2. Update comment block in pmclib.h to use generic names for STD and
GPIO GPE registers instead of using any one platform specific names.
BUG=b:67712608
Change-Id: I03349fe85ac31d4215418b884afd8c4b531e68d3
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/21968
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/apollolake/pmc.c')
-rw-r--r-- | src/soc/intel/apollolake/pmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/apollolake/pmc.c b/src/soc/intel/apollolake/pmc.c index 190f5fb15c..a4b91e1b64 100644 --- a/src/soc/intel/apollolake/pmc.c +++ b/src/soc/intel/apollolake/pmc.c @@ -154,7 +154,7 @@ static void pmc_init(struct device *dev) pch_log_state(); /* Now that things have been logged clear out the PMC state. */ - pmc_clear_status(); + pmc_clear_prsts(); } static const struct device_operations device_ops = { |