soc/intel/apollolake: Add function to clear PMCON status bits
commit42914feb1f3c6c90201eb3b1753495f93c759690
authorSubrata Banik <subratabanik@google.com>
Sun, 6 Feb 2022 13:15:44 +0000 (6 18:45 +0530)
committerFelix Held <felix-coreboot@felixheld.de>
Tue, 15 Feb 2022 17:16:51 +0000 (15 17:16 +0000)
tree6ffb2e1c3619af4e1321fb4ec310e641534adf85
parent112ffd764299580218a2b210ddb87c047ba185e4
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>
src/soc/intel/apollolake/include/soc/pm.h
src/soc/intel/apollolake/pmutil.c