summaryrefslogtreecommitdiff
path: root/src/soc/intel/braswell/elog.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-03-19 00:31:58 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-03-23 09:42:39 +0000
commitaee7ab2f6e69b70414f8225cb7a83c3e4cb62d9a (patch)
tree73a8668b87d5e495041b67f5f799e40386230bab /src/soc/intel/braswell/elog.c
parent140a4ae7bf2960ac7d095ba94847093f4755bf04 (diff)
downloadcoreboot-aee7ab2f6e69b70414f8225cb7a83c3e4cb62d9a.tar.xz
soc/intel/braswell: Clean up
Tested with BUILD_TIMELESS=1, Facebook FBG1701 remains unaffected. Change-Id: I784a5ddc1a8dcbfb960ce970b28b850244a47773 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39663 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/braswell/elog.c')
-rw-r--r--src/soc/intel/braswell/elog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/braswell/elog.c b/src/soc/intel/braswell/elog.c
index b24dff5446..1eef5fdaac 100644
--- a/src/soc/intel/braswell/elog.c
+++ b/src/soc/intel/braswell/elog.c
@@ -51,9 +51,9 @@ static void log_power_and_resets(const struct chipset_power_state *ps)
static void log_wake_events(const struct chipset_power_state *ps)
{
- const uint32_t pcie_wake_mask = PCI_EXP_STS | PCIE_WAKE3_STS |
- PCIE_WAKE2_STS | PCIE_WAKE1_STS |
- PCIE_WAKE0_STS;
+ const uint32_t pcie_wake_mask = PCIE_WAKE3_STS | PCIE_WAKE2_STS |
+ PCIE_WAKE1_STS | PCIE_WAKE0_STS | PCI_EXP_STS;
+
uint32_t gpe0_sts;
uint32_t gpio_mask;
int i;