lkml.org 
[lkml]   [2013]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] x86, microcode: Correct kconfig dependencies
Date
From: Borislav Petkov <bp@suse.de>

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>
---
arch/x86/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 8076f1d9e4e7..945492c9b285 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1071,6 +1071,7 @@ config X86_REBOOTFIXUPS

config MICROCODE
tristate "CPU microcode loading support"
+ depends on CPU_SUP_AMD || CPU_SUP_INTEL
select FW_LOADER
---help---

--
1.8.4


\
 
 \ /
  Last update: 2013-10-13 19:01    [W:0.189 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site