diff options
author | Sumeet Pawnikar <sumeet.r.pawnikar@intel.com> | 2019-01-08 19:52:54 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-01-16 12:44:17 +0000 |
commit | c896e92eaad8e255c1cef65b9da2367742a61e5f (patch) | |
tree | 4cc223ff714a75c4355c3fa5ce8c81261181612d /src/soc/intel/cannonlake/systemagent.c | |
parent | e97e90959c6d7424911bfbc0096d6054cb27c434 (diff) | |
download | coreboot-c896e92eaad8e255c1cef65b9da2367742a61e5f.tar.xz |
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 <sumeet.r.pawnikar@intel.com>
Reviewed-on: https://review.coreboot.org/c/30907
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/soc/intel/cannonlake/systemagent.c')
-rw-r--r-- | src/soc/intel/cannonlake/systemagent.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 <device/device.h> +#include <delay.h> #include <device/pci.h> #include <intelblocks/systemagent.h> +#include <soc/cpu.h> #include <soc/iomap.h> #include <soc/systemagent.h> @@ -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); } |