Commit 9c55d99e authored by Borislav Petkov's avatar Borislav Petkov

x86/microcode: Add explicit CPU vendor dependency

Add an explicit dependency to the respective CPU vendor so that the
respective microcode support for it gets built only when that support is
enabled.
Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/8ead0da9-9545-b10d-e3db-7df1a1f219e4@infradead.org
parent 31231092
...@@ -1313,7 +1313,7 @@ config MICROCODE ...@@ -1313,7 +1313,7 @@ config MICROCODE
config MICROCODE_INTEL config MICROCODE_INTEL
bool "Intel microcode loading support" bool "Intel microcode loading support"
depends on MICROCODE depends on CPU_SUP_INTEL && MICROCODE
default MICROCODE default MICROCODE
help help
This options enables microcode patch loading support for Intel This options enables microcode patch loading support for Intel
...@@ -1325,7 +1325,7 @@ config MICROCODE_INTEL ...@@ -1325,7 +1325,7 @@ config MICROCODE_INTEL
config MICROCODE_AMD config MICROCODE_AMD
bool "AMD microcode loading support" bool "AMD microcode loading support"
depends on MICROCODE depends on CPU_SUP_AMD && MICROCODE
help help
If you select this option, microcode patch loading support for AMD If you select this option, microcode patch loading support for AMD
processors will be enabled. processors will be enabled.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment