summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2013-10-13 16:36:29 (GMT)
committerIngo Molnar <mingo@kernel.org>2013-10-14 07:24:27 (GMT)
commit80030e3d8ec6414790a5ec67ae4c5eeee82aba98 (patch)
tree5ff416688ad2b095d0fc8d7a0b37165100e06f91 /arch
parent61e6cfa80de5760bbe406f4e815b7739205754d2 (diff)
downloadlinux-fsl-qoriq-80030e3d8ec6414790a5ec67ae4c5eeee82aba98.tar.xz
x86/microcode: Correct Kconfig dependencies
I have a randconfig here which has enabled only CONFIG_MICROCODE=y CONFIG_MICROCODE_OLD_INTERFACE=y with both # CONFIG_MICROCODE_INTEL is not set # CONFIG_MICROCODE_AMD is not set off. Which makes building the microcode functionality a little pointless. Don't do that in such cases then. Signed-off-by: Borislav Petkov <bp@suse.de> Link: http://lkml.kernel.org/r/1381682189-14470-1-git-send-email-bp@alien8.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 145d703..f67e839 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1033,6 +1033,7 @@ config X86_REBOOTFIXUPS
config MICROCODE
tristate "CPU microcode loading support"
+ depends on CPU_SUP_AMD || CPU_SUP_INTEL
select FW_LOADER
---help---