x86/microcode: Add explicit CPU vendor dependency
[sfrench/cifs-2.6.git] / arch / x86 / Kconfig
index b0142e01002e3dd4fc3299f23da6ce2e6aaa3997..7ba627c60504de231faed411576410a36820f0e9 100644 (file)
@@ -1313,7 +1313,7 @@ config MICROCODE
 
 config MICROCODE_INTEL
        bool "Intel microcode loading support"
-       depends on MICROCODE
+       depends on CPU_SUP_INTEL && MICROCODE
        default MICROCODE
        help
          This options enables microcode patch loading support for Intel
@@ -1325,7 +1325,7 @@ config MICROCODE_INTEL
 
 config MICROCODE_AMD
        bool "AMD microcode loading support"
-       depends on MICROCODE
+       depends on CPU_SUP_AMD && MICROCODE
        help
          If you select this option, microcode patch loading support for AMD
          processors will be enabled.