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>
This commit is contained in:
Arthur Heymans 2022-04-17 10:37:13 +02:00 committed by Felix Held
parent 4bc425c521
commit 67f29e818f
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,5 @@
if ARCH_X86
config PARALLEL_MP config PARALLEL_MP
def_bool y def_bool y
depends on !LEGACY_SMP_INIT 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 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 uses the %gs segment to locate the cpu_info pointer. The old method
relied on the stack being CONFIG_STACK_SIZE aligned. relied on the stack being CONFIG_STACK_SIZE aligned.
endif # ARCH_X86

View File

@ -1,3 +1,5 @@
if ARCH_X86
config HAVE_DEBUG_CAR config HAVE_DEBUG_CAR
bool bool
@ -11,3 +13,5 @@ config DISPLAY_MTRRS
config DEBUG_SMM_RELOCATION config DEBUG_SMM_RELOCATION
bool "Debug SMM relocation code" bool "Debug SMM relocation code"
depends on HAVE_SMI_HANDLER && SMM_ASEG depends on HAVE_SMI_HANDLER && SMM_ASEG
endif # ARCH_X86