diff options
author | Praveen hodagatta pranesh <praveenx.hodagatta.pranesh@intel.com> | 2018-12-19 19:19:24 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-12-19 05:56:02 +0000 |
commit | f7fdc3a5ab21333aa08d58681795ddf65df170eb (patch) | |
tree | 48bfde1b0fbb1a8366d02c22be352f26e01137d0 /src/soc/intel | |
parent | a86c198cd5fec0e27a94c620c08e4a440f7d433f (diff) |
soc/intel/skylake: Add Sagv enum value definition
SaGv(system Agent Dynamic Frequency) have 4 settings
Disabled, Fixedlow, Fixedhigh, Enabled.
This patch add all 4 settings in enum definition and
used in devicetree.
BUG=None
Signed-off-by: Praveen hodagatta pranesh <praveenx.hodagatta.pranesh@intel.com>
Change-Id: I8f3b56f4d2bea1836373cc505ef5147144100b95
Reviewed-on: https://review.coreboot.org/c/30305
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/soc/intel')
-rw-r--r-- | src/soc/intel/skylake/chip.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/soc/intel/skylake/chip.h b/src/soc/intel/skylake/chip.h index 7014a2e60b..39e5056bca 100644 --- a/src/soc/intel/skylake/chip.h +++ b/src/soc/intel/skylake/chip.h @@ -152,7 +152,12 @@ struct soc_intel_skylake_config { * 2 = FixedHigh * 3 = Enabled */ - u8 SaGv; + enum { + SaGv_Disabled, + SaGv_FixedLow, + SaGv_FixedHigh, + SaGv_Enabled, + } SaGv; /* Enable/disable Rank Margin Tool */ u8 Rmt; |