diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-04-17 10:37:13 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-04-19 13:03:16 +0000 |
commit | 67f29e818fc26cd1ffcf057dd531011852615b4b (patch) | |
tree | bc35a7f218e801eb143e21fe2ce1fcb7346eae11 /src/cpu | |
parent | 4bc425c5213aab870c19f02b65c248407572b086 (diff) |
cpu/x86/Kconfig*: Guard with ARCH_X86
None of these options make sense on different ARCH.
Change-Id: Ie90ad24ff9013e38c42f10285cc3b546a3cc0571
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63673
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/x86/Kconfig | 4 | ||||
-rw-r--r-- | src/cpu/x86/Kconfig.debug_cpu | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/cpu/x86/Kconfig b/src/cpu/x86/Kconfig index d5c688d40f..658d2aaf74 100644 --- a/src/cpu/x86/Kconfig +++ b/src/cpu/x86/Kconfig @@ -1,3 +1,5 @@ +if ARCH_X86 + config PARALLEL_MP def_bool y depends on !LEGACY_SMP_INIT @@ -194,3 +196,5 @@ config CPU_INFO_V2 Enables the new method of locating struct cpu_info. This new method uses the %gs segment to locate the cpu_info pointer. The old method relied on the stack being CONFIG_STACK_SIZE aligned. + +endif # ARCH_X86 diff --git a/src/cpu/x86/Kconfig.debug_cpu b/src/cpu/x86/Kconfig.debug_cpu index f8ed370486..7edb60f445 100644 --- a/src/cpu/x86/Kconfig.debug_cpu +++ b/src/cpu/x86/Kconfig.debug_cpu @@ -1,3 +1,5 @@ +if ARCH_X86 + config HAVE_DEBUG_CAR bool @@ -11,3 +13,5 @@ config DISPLAY_MTRRS config DEBUG_SMM_RELOCATION bool "Debug SMM relocation code" depends on HAVE_SMI_HANDLER && SMM_ASEG + +endif # ARCH_X86 |