Skip to content

Commit c508c46

Browse files
bgilbertgregkh
authored andcommitted
firmware: Fix up docs referring to FIRMWARE_IN_KERNEL
We've removed the option, so stop talking about it. Signed-off-by: Benjamin Gilbert <[email protected]> Acked-by: Ingo Molnar <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: H. Peter Anvin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 7f55c73 commit c508c46

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

Documentation/driver-api/firmware/built-in-fw.rst

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,8 @@ options:
1111
* CONFIG_EXTRA_FIRMWARE
1212
* CONFIG_EXTRA_FIRMWARE_DIR
1313

14-
This should not be confused with CONFIG_FIRMWARE_IN_KERNEL, this is for drivers
15-
which enables firmware to be built as part of the kernel build process. This
16-
option, CONFIG_FIRMWARE_IN_KERNEL, will build all firmware for all drivers
17-
enabled which ship its firmware inside the Linux kernel source tree.
18-
1914
There are a few reasons why you might want to consider building your firmware
20-
into the kernel with CONFIG_EXTRA_FIRMWARE though:
15+
into the kernel with CONFIG_EXTRA_FIRMWARE:
2116

2217
* Speed
2318
* Firmware is needed for accessing the boot device, and the user doesn't

Documentation/x86/microcode.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,11 @@ packages already put them there.
108108
====================
109109

110110
The loader supports also loading of a builtin microcode supplied through
111-
the regular firmware builtin method CONFIG_FIRMWARE_IN_KERNEL. Only
112-
64-bit is currently supported.
111+
the regular builtin firmware method CONFIG_EXTRA_FIRMWARE. Only 64-bit is
112+
currently supported.
113113

114114
Here's an example:
115115

116-
CONFIG_FIRMWARE_IN_KERNEL=y
117116
CONFIG_EXTRA_FIRMWARE="intel-ucode/06-3a-09 amd-ucode/microcode_amd_fam15h.bin"
118117
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
119118

arch/x86/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,9 +1242,9 @@ config MICROCODE
12421242
CONFIG_BLK_DEV_INITRD in order for the loader to be able to scan the
12431243
initrd for microcode blobs.
12441244

1245-
In addition, you can build-in the microcode into the kernel. For that you
1246-
need to enable FIRMWARE_IN_KERNEL and add the vendor-supplied microcode
1247-
to the CONFIG_EXTRA_FIRMWARE config option.
1245+
In addition, you can build the microcode into the kernel. For that you
1246+
need to add the vendor-supplied microcode to the CONFIG_EXTRA_FIRMWARE
1247+
config option.
12481248

12491249
config MICROCODE_INTEL
12501250
bool "Intel microcode loading support"

0 commit comments

Comments
 (0)