Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/63673 )
Change subject: cpu/x86/Kconfig*: Guard with ARCH_X86 ......................................................................
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 --- M src/cpu/x86/Kconfig M src/cpu/x86/Kconfig.debug_cpu 2 files changed, 8 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Felix Singer: Looks good to me, approved
diff --git a/src/cpu/x86/Kconfig b/src/cpu/x86/Kconfig index d5c688d..658d2aa 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 @@ 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 f8ed370..7edb60f 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 DEBUG_SMM_RELOCATION bool "Debug SMM relocation code" depends on HAVE_SMI_HANDLER && SMM_ASEG + +endif # ARCH_X86