x86: moved microcode.c to microcode_intel.c
Combine both generic and arch-specific parts of microcode into a
single module (arch-specific parts are config-dependent).
Also while we are at it, move arch-specific parts from microcode.h
into their respective arch-specific .c files.
Signed-off-by: Dmitry Adamushko <dmitry.adamushko@gmail.com>
Cc: "Peter Oruba" <peter.oruba@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 0e5bf1e..2e60809 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -801,7 +801,7 @@
module will be called microcode.
config MICROCODE_INTEL
- tristate "Intel microcode patch loading support"
+ bool "Intel microcode patch loading support"
depends on MICROCODE
default MICROCODE
select FW_LOADER
@@ -813,20 +813,14 @@
Intel ingredients for this driver, check:
<http://www.urbanmyth.org/microcode/>.
- This driver is only available as a module: the module
- will be called microcode_intel.
-
config MICROCODE_AMD
- tristate "AMD microcode patch loading support"
+ bool "AMD microcode patch loading support"
depends on MICROCODE
select FW_LOADER
--help---
If you select this option, microcode patch loading support for AMD
processors will be enabled.
- This driver is only available as a module: the module
- will be called microcode_amd.
-
config MICROCODE_OLD_INTERFACE
def_bool y
depends on MICROCODE