summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/jasperlake/chip.h4
-rw-r--r--src/soc/intel/jasperlake/fsp_params.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/soc/intel/jasperlake/chip.h b/src/soc/intel/jasperlake/chip.h
index 6b5f599911..5a87a91037 100644
--- a/src/soc/intel/jasperlake/chip.h
+++ b/src/soc/intel/jasperlake/chip.h
@@ -136,6 +136,10 @@ struct soc_intel_jasperlake_config {
/* Heci related */
uint8_t Heci3Enabled;
+ /* VR Config Settings for IA Core */
+ uint16_t ImonSlope;
+ uint16_t ImonOffset;
+
/* Gfx related */
uint8_t IgdDvmt50PreAlloc;
uint8_t InternalGfx;
diff --git a/src/soc/intel/jasperlake/fsp_params.c b/src/soc/intel/jasperlake/fsp_params.c
index d2e07e9f58..1919936003 100644
--- a/src/soc/intel/jasperlake/fsp_params.c
+++ b/src/soc/intel/jasperlake/fsp_params.c
@@ -177,6 +177,10 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
sizeof(params->SataPortsDevSlp));
}
+ /* VR Configuration */
+ params->ImonSlope[0] = config->ImonSlope;
+ params->ImonOffset[0] = config->ImonOffset;
+
/* SDCard related configuration */
dev = pcidev_path_on_root(PCH_DEVFN_SDCARD);
params->ScsSdCardEnabled = is_dev_enabled(dev);