aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/xeon_sp/cpx/chip.c
diff options
context:
space:
mode:
authorJonathan Zhang <jonzhang@fb.com>2020-04-13 19:34:53 -0700
committerPatrick Georgi <pgeorgi@google.com>2020-06-22 12:01:09 +0000
commitbea1980c4eb4535c3d0fdd07165d74dc3fff1976 (patch)
tree197493efd8b96c7e55d79c924a232f5d0e244b98 /src/soc/intel/xeon_sp/cpx/chip.c
parenteb43ca5fb14addd98b52d4dd8040b65f161edb78 (diff)
soc/intel/xeon_sp/cpx: Finalize PCU configuration
Program PCU (Power Control Unit) during chip_final(). This is needed to allow ACPI power control related feature to work in target OS. Signed-off-by: Jonathan Zhang <jonzhang@fb.com> Signed-off-by: Reddy Chagam <anjaneya.chagam@intel.com> Change-Id: I1f5b18d66b351acecdc7b3f515a552c36f08eb61 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40386 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'src/soc/intel/xeon_sp/cpx/chip.c')
-rw-r--r--src/soc/intel/xeon_sp/cpx/chip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/xeon_sp/cpx/chip.c b/src/soc/intel/xeon_sp/cpx/chip.c
index c2d448c21c..c3159feec3 100644
--- a/src/soc/intel/xeon_sp/cpx/chip.c
+++ b/src/soc/intel/xeon_sp/cpx/chip.c
@@ -585,6 +585,8 @@ static void chip_enable_dev(struct device *dev)
static void chip_final(void *data)
{
p2sb_hide();
+
+ set_bios_init_completion();
}
static void chip_init(void *data)