summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRonak Kanabar <ronak.kanabar@intel.com>2019-01-14 21:47:56 +0530
committerPatrick Georgi <pgeorgi@google.com>2019-01-17 13:03:54 +0000
commitdc666f50c7bd479caf9d9b91a1769686c15cfdf9 (patch)
tree2062f9040521258b71db69760aa87afdb9f19b30 /src
parent82b8c3d1b025af5076f769d7754b7e1ae6bf5950 (diff)
soc/intel/cannonlake: Change in SaGv options
CNL,WHL and CFL all are not using midfixed option in SaGv so keeping it for CNL only and removing it for others. Change-Id: I754515c2f8e249479c603872c61ac9a006e962ff Signed-off-by: Ronak Kanabar <ronak.kanabar@intel.com> Reviewed-on: https://review.coreboot.org/c/30917 Reviewed-by: Lijian Zhao <lijian.zhao@intel.com> Reviewed-by: Subrata Banik <subrata.banik@intel.com> Reviewed-by: Aamir Bohra <aamir.bohra@intel.com> Reviewed-by: Maulik V Vaghela <maulik.v.vaghela@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/cannonlake/chip.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/soc/intel/cannonlake/chip.h b/src/soc/intel/cannonlake/chip.h
index 947cd65718..a877ec1a90 100644
--- a/src/soc/intel/cannonlake/chip.h
+++ b/src/soc/intel/cannonlake/chip.h
@@ -100,12 +100,18 @@ struct soc_intel_cannonlake_config {
uint16_t FreqSaGvMid;
/* System Agent dynamic frequency support. Only effects ULX/ULT CPUs.
+ * for CNL options are as following
+ * When enabled memory will be training at three different frequencies.
+ * 0:Disabled, 1:FixedLow, 2:FixedMid, 3:FixedHigh, 4:Enabled
+ * for WHL/CFL options are as following
* When enabled memory will be training at two different frequencies.
- * 0:Disabled, 1:FixedLow, 2:FixedMid, 3:FixedHigh, 4:Enabled */
+ * 0:Disabled, 1:FixedLow, 2:FixedHigh, 3:Enabled*/
enum {
SaGv_Disabled,
SaGv_FixedLow,
+#if IS_ENABLED(CONFIG_SOC_INTEL_CANNONLAKE)
SaGv_FixedMid,
+#endif
SaGv_FixedHigh,
SaGv_Enabled,
} SaGv;