diff options
author | Lijian Zhao <lijian.zhao@intel.com> | 2018-03-12 12:13:15 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-03-14 11:18:22 +0000 |
commit | f5205a3c81df7a06ddd109642d948092bd36d322 (patch) | |
tree | 80ea465015e7276671d4d1ca51cf367ef675dacd /src | |
parent | ec19354b9aee8c12a8e9728c33b6b47230359960 (diff) | |
download | coreboot-f5205a3c81df7a06ddd109642d948092bd36d322.tar.xz |
soc/intel/cannonlake: Add SaGv value definition
SaGv(Sytem Agent Dynamic Frequency) have four settings, disabled,
disabled but running at fixed lower frequency, disabled but running at
fixed middle frquency, disabled but running at fixed high frequency and
totally enabled.
BUG=None.
Change-Id: Ib5fb648179e7889aaa64d91e6cf7a7a7503f4225
Signed-off-by: Lijian Zhao <lijian.zhao@intel.com>
Reviewed-on: https://review.coreboot.org/25116
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/intel/cannonlake/chip.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/soc/intel/cannonlake/chip.h b/src/soc/intel/cannonlake/chip.h index 5e70fae26f..90956c308a 100644 --- a/src/soc/intel/cannonlake/chip.h +++ b/src/soc/intel/cannonlake/chip.h @@ -106,7 +106,14 @@ struct soc_intel_cannonlake_config { /* System Agent dynamic frequency support. Only effects ULX/ULT CPUs. * When enabled memory will be training at two different frequencies. * 0:Disabled, 1:FixedLow, 2:FixedMid, 3:FixedHigh, 4:Enabled */ - uint8_t SaGv; + enum { + SaGv_Disabled, + SaGv_FixedLow, + SaGv_FixedMid, + SaGv_FixedHigh, + SaGv_Enabled, + } SaGv; + /* Rank Margin Tool. 1:Enable, 0:Disable */ uint8_t RMT; |