summaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/include
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2022-02-06 18:45:44 +0530
committerFelix Held <felix-coreboot@felixheld.de>2022-02-15 17:16:51 +0000
commit42914feb1f3c6c90201eb3b1753495f93c759690 (patch)
tree6ffb2e1c3619af4e1321fb4ec310e641534adf85 /src/soc/intel/apollolake/include
parent112ffd764299580218a2b210ddb87c047ba185e4 (diff)
soc/intel/apollolake: Add function to clear PMCON status bits
This patch adds an SoC function to clear GEN_PMCON_A status bits to align with other IA coreboot implementations. BUG=b:211954778 TEST=None. Signed-off-by: Subrata Banik <subratabanik@google.com> Change-Id: I982f669b13f25d1d0e6dfaec2fbf50d3200f74fe Reviewed-on: https://review.coreboot.org/c/coreboot/+/61651 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Diffstat (limited to 'src/soc/intel/apollolake/include')
-rw-r--r--src/soc/intel/apollolake/include/soc/pm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/include/soc/pm.h b/src/soc/intel/apollolake/include/soc/pm.h
index 01efaff43a..aec5e2c0db 100644
--- a/src/soc/intel/apollolake/include/soc/pm.h
+++ b/src/soc/intel/apollolake/include/soc/pm.h
@@ -241,4 +241,7 @@ uint8_t *pmc_mmio_regs(void);
/* STM Support */
uint16_t get_pmbase(void);
+/* Clear PMCON status bits */
+void pmc_clear_pmcon_sts(void);
+
#endif