diff options
author | Barnali Sarkar <barnali.sarkar@intel.com> | 2017-05-03 18:00:48 +0530 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-06-09 18:51:43 +0200 |
commit | 19b546f48cb790285afa366dceab9da62cbbe4ac (patch) | |
tree | 17064500fac73a3c5e6e3ea233c171765de95420 /src/soc/intel/common/block/cpu/Kconfig | |
parent | 6520e01a469ee82b6ec644b48ac78f99d1364897 (diff) |
soc/intel/common/block: Add Intel common CPU library code
Create Intel Common CPU library code which provides various
CPU related APIs.
This patch adds cpulib.c file which contains various helper
functions to address different CPU functionalities like -
cpu_set_max_ratio(),
cpu_get_flex_ratio(),
cpu_set_flex_ratio(),
cpu_get_tdp_nominal_ratio(),
cpu_config_tdp_levels(),
cpu_set_p_state_to_turbo_ratio(),
cpu_set_p_state_to_nominal_tdp_ratio(),
cpu_set_p_state_to_max_non_turbo_ratio(),
cpu_get_burst_mode_state(),
cpu_enable_burst_mode(),
cpu_disable_burst_mode(),
cpu_enable_eist(),
cpu_disable_eist(),
cpu_enable_untrusted_mode()
Change-Id: I2f80c42132d9ea738be4051d2395e9e51ac153f8
Signed-off-by: Barnali Sarkar <barnali.sarkar@intel.com>
Reviewed-on: https://review.coreboot.org/19540
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Diffstat (limited to 'src/soc/intel/common/block/cpu/Kconfig')
-rw-r--r-- | src/soc/intel/common/block/cpu/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/cpu/Kconfig b/src/soc/intel/common/block/cpu/Kconfig index 7b78c53ea7..56b0064d59 100644 --- a/src/soc/intel/common/block/cpu/Kconfig +++ b/src/soc/intel/common/block/cpu/Kconfig @@ -1,3 +1,12 @@ +config SOC_INTEL_COMMON_BLOCK_CPU + bool + default n + help + This option helps to select Intel Common CPU Model support code + which provides various CPU related APIs which are common + between all Intel Processor families. Common CPU code is supported + for SOCs starting from SKL,KBL,APL, and future. + config SOC_INTEL_COMMON_BLOCK_CAR bool default n |