From c896e92eaad8e255c1cef65b9da2367742a61e5f Mon Sep 17 00:00:00 2001 From: Sumeet Pawnikar Date: Tue, 8 Jan 2019 19:52:54 +0530 Subject: soc/intel/cannonlake: Add processor power limits control support Add processor power limits control support to configure values. BRANCH=None BUG=b:122343940 TEST=Built and tested on Arcada system Change-Id: I5990dc05b51481a0074855914cef20cf07378cde Signed-off-by: Sumeet Pawnikar Reviewed-on: https://review.coreboot.org/c/30907 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/soc/intel/cannonlake/systemagent.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/soc/intel/cannonlake/systemagent.c') diff --git a/src/soc/intel/cannonlake/systemagent.c b/src/soc/intel/cannonlake/systemagent.c index e6310c0c9a..26f8d9ed7b 100644 --- a/src/soc/intel/cannonlake/systemagent.c +++ b/src/soc/intel/cannonlake/systemagent.c @@ -16,8 +16,10 @@ */ #include +#include #include #include +#include #include #include @@ -52,6 +54,7 @@ void soc_add_fixed_mmio_resources(struct device *dev, int *index) sa_add_fixed_mmio_resources(dev, index, soc_fixed_resources, ARRAY_SIZE(soc_fixed_resources)); + } /* @@ -66,4 +69,8 @@ void soc_systemagent_init(struct device *dev) /* Enable BIOS Reset CPL */ enable_bios_reset_cpl(); + + /* Configure turbo power limits 1ms after reset complete bit */ + mdelay(1); + set_power_limits(28); } -- cgit v1.2.3