summaryrefslogtreecommitdiff
path: root/src/cpu/x86
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/x86')
-rw-r--r--src/cpu/x86/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cpu/x86/Kconfig b/src/cpu/x86/Kconfig
index f34a2626f8..5b9279511d 100644
--- a/src/cpu/x86/Kconfig
+++ b/src/cpu/x86/Kconfig
@@ -21,8 +21,20 @@ config PARALLEL_MP_AP_WORK
config LEGACY_SMP_INIT
bool
+config DEFAULT_X2APIC
+ def_bool n
+ help
+ Allow SoC code to set LAPIC_ACCESS_MODE to X2APIC.
+
+config DEFAULT_X2APIC_RUNTIME
+ def_bool n
+ help
+ Allow SoC code to set LAPIC_ACCESS_MODE to X2APIC_RUNTIME.
+
choice LAPIC_ACCESS_MODE
prompt "APIC operation mode"
+ default X2APIC_ONLY if DEFAULT_X2APIC
+ default X2APIC_RUNTIME if DEFAULT_X2APIC_RUNTIME
default XAPIC_ONLY
config XAPIC_ONLY