aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/Kconfig
diff options
context:
space:
mode:
authorBarnali Sarkar <barnali.sarkar@intel.com>2017-08-07 18:26:31 +0530
committerAaron Durbin <adurbin@chromium.org>2017-08-15 23:10:33 +0000
commit1e6b980b1ec49e5ffdfb34e5373f13e82db67fb7 (patch)
treedd92e4a5f506626a2c5575769547532a1f454070 /src/soc/intel/apollolake/Kconfig
parent65c8be4ccbf93777a239f0e06bdfad34bfbec631 (diff)
soc/intel/apollolake: Provide option to use Common MP Init
This patch provides the option to use the common CPU Mp Init code by selecting a Config Token. CONFIG_SOC_INTEL_COMMON_BLOCK_CPU_MPINIT config token can be selected to use the Common MP Init Code, also where CPU MP Init is done before FSP-S Init. And if the config token is not selected, the old way of implementation will exist, where MP Init is been done after FSP-S. CQ-DEPEND=CL:*397551 BUG=none BRANCH=none TEST=Build and boot Reef Change-Id: I35d012785000d3f3bfcc34138cda9cd4591559f6 Signed-off-by: Barnali Sarkar <barnali.sarkar@intel.com> Reviewed-on: https://review.coreboot.org/20895 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc/intel/apollolake/Kconfig')
-rw-r--r--src/soc/intel/apollolake/Kconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/Kconfig b/src/soc/intel/apollolake/Kconfig
index 49e56aa6d7..5ff328b522 100644
--- a/src/soc/intel/apollolake/Kconfig
+++ b/src/soc/intel/apollolake/Kconfig
@@ -315,6 +315,27 @@ config USE_APOLLOLAKE_FSP_CAR
endchoice
+choice
+ prompt "MPINIT code implementation"
+ default NO_COMMON_MPINIT if SOC_INTEL_APOLLOLAKE
+ default COMMON_MPINIT
+ help
+ This option allows you to select MP Init Code path either
+ from Intel Common Code implementation, or from SOC files.
+
+config NO_COMMON_MPINIT
+ bool "Not using Common MP Init code"
+ help
+ Common code MP Init path is not used.
+
+config COMMON_MPINIT
+ bool "Using Common MP Init code"
+ select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT
+ help
+ Common code MP Init path is used.
+
+endchoice
+
#
# Each bit in QOS mask controls this many bytes. This is calculated as:
# (CACHE_WAYS / CACHE_BITS_PER_MASK) * CACHE_LINE_SIZE * CACHE_SETS