summaryrefslogtreecommitdiff
path: root/src/soc/intel/cannonlake/include
diff options
context:
space:
mode:
authorRoy Mingi Park <roy.mingi.park@intel.com>2019-02-13 11:10:45 -0800
committerPatrick Georgi <pgeorgi@google.com>2019-02-15 16:23:28 +0000
commit1ac2ad0fbe8c1d7029e4f593fefe763212df6728 (patch)
treef2fbe09fd6a2588bd692243e711ca51992b6516c /src/soc/intel/cannonlake/include
parent783be13495a920502c1e2ef25cadd2d9558df013 (diff)
soc/intel/cannonlake: Define VR settings
Define VR settings configuration as per board design. BUG=N/A TEST=Build and boot up into sarien platform. Change-Id: Ic9927943b1f8fab687659fd1d6da0e3988a3aba2 Signed-off-by: Roy Mingi Park <roy.mingi.park@intel.com> Reviewed-on: https://review.coreboot.org/c/31405 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src/soc/intel/cannonlake/include')
-rw-r--r--src/soc/intel/cannonlake/include/soc/vr_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/cannonlake/include/soc/vr_config.h b/src/soc/intel/cannonlake/include/soc/vr_config.h
index 385767d957..8bcf001ea9 100644
--- a/src/soc/intel/cannonlake/include/soc/vr_config.h
+++ b/src/soc/intel/cannonlake/include/soc/vr_config.h
@@ -55,6 +55,8 @@ struct vr_config {
uint16_t dc_loadline;
};
+#define VR_CFG_AMP(i) ((i) * 4)
+
/* VrConfig Settings for 4 domains
* 0 = System Agent, 1 = IA Core,
* 2 = GT unsliced, 3 = GT sliced */