]> asedeno.scripts.mit.edu Git - linux.git/commit
firmware: split firmware fallback functionality into its own file
authorLuis R. Rodriguez <mcgrof@kernel.org>
Sat, 10 Mar 2018 14:14:49 +0000 (06:14 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Mar 2018 08:28:46 +0000 (09:28 +0100)
commitd73f821c7aea16ad4f501fb87c8b5373a025e7f4
treeb5569508c13989c673b681fbff3125a10314d573
parente05cb73f83918b9bde2063de08467f2261d0f5bb
firmware: split firmware fallback functionality into its own file

The firmware fallback code is optional. Split that code out to help
distinguish the fallback functionlity from othere core firmware loader
features. This should make it easier to maintain and review code
changes.

The reason for keeping the configuration onto a table which is built-in
if you enable firmware loading is so that we can later enable the kernel
after subsequent patches to tweak this configuration, even if the
firmware loader is modular.

This introduces no functional changes.

Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/Makefile
drivers/base/firmware_fallback.c [new file with mode: 0644]
drivers/base/firmware_fallback.h [new file with mode: 0644]
drivers/base/firmware_fallback_table.c [new file with mode: 0644]
drivers/base/firmware_loader.c
drivers/base/firmware_loader.h [new file with mode: 0644]