summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/skylake/pmutil.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-02-19 17:49:00 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-02-24 11:34:42 +0000
commitf5d090d19a695a7ceec83d0b90db7567822a0dce (patch)
tree6ca56a2deba080a33ac12d81adf6963facfc5bcb /src/soc/intel/skylake/pmutil.c
parenta15a6045d26d10ef095dd26667457e3b2ac3c80b (diff)
downloadcoreboot-f5d090d19a695a7ceec83d0b90db7567822a0dce.tar.gz
coreboot-f5d090d19a695a7ceec83d0b90db7567822a0dce.tar.bz2
coreboot-f5d090d19a695a7ceec83d0b90db7567822a0dce.zip
soc/intel/*/pmutil.c: Align cosmetics across platforms
Change-Id: I78d1b15deac2b80cc319dcfc5ab6bf419e2d61db Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50931 Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/skylake/pmutil.c')
-rw-r--r--src/soc/intel/skylake/pmutil.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/soc/intel/skylake/pmutil.c b/src/soc/intel/skylake/pmutil.c
index 6d16f5269572..906a1cf56f67 100644
--- a/src/soc/intel/skylake/pmutil.c
+++ b/src/soc/intel/skylake/pmutil.c
@@ -204,8 +204,7 @@ int vbnv_cmos_failed(void)
}
/* Return 0, 3, or 5 to indicate the previous sleep state. */
-int soc_prev_sleep_state(const struct chipset_power_state *ps,
- int prev_sleep_state)
+int soc_prev_sleep_state(const struct chipset_power_state *ps, int prev_sleep_state)
{
/*
* Check for any power failure to determine if this a wake from
@@ -242,8 +241,7 @@ void soc_fill_power_state(struct chipset_power_state *ps)
ps->tco1_sts = tco_read_reg(TCO1_STS);
ps->tco2_sts = tco_read_reg(TCO2_STS);
- printk(BIOS_DEBUG, "TCO_STS: %04x %04x\n",
- ps->tco1_sts, ps->tco2_sts);
+ printk(BIOS_DEBUG, "TCO_STS: %04x %04x\n", ps->tco1_sts, ps->tco2_sts);
ps->gen_pmcon_a = pci_read_config32(PCH_DEV_PMC, GEN_PMCON_A);
ps->gen_pmcon_b = pci_read_config32(PCH_DEV_PMC, GEN_PMCON_B);