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>
This commit is contained in:
Ronak Kanabar 2019-01-14 21:47:56 +05:30 committed by Patrick Georgi
parent 82b8c3d1b0
commit dc666f50c7
1 changed files with 7 additions and 1 deletions

View File

@ -100,12 +100,18 @@ struct soc_intel_cannonlake_config {
uint16_t FreqSaGvMid; uint16_t FreqSaGvMid;
/* System Agent dynamic frequency support. Only effects ULX/ULT CPUs. /* 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. * 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 { enum {
SaGv_Disabled, SaGv_Disabled,
SaGv_FixedLow, SaGv_FixedLow,
#if IS_ENABLED(CONFIG_SOC_INTEL_CANNONLAKE)
SaGv_FixedMid, SaGv_FixedMid,
#endif
SaGv_FixedHigh, SaGv_FixedHigh,
SaGv_Enabled, SaGv_Enabled,
} SaGv; } SaGv;