Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5d6d1ddd authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by Greg Kroah-Hartman
Browse files

firmware: move firmware loader into its own directory



This will make it much easier to manage as we manage to
keep trimming componnents down into their own files to more
easily manage and maintain this codebase.

Suggested-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d73f821c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5552,7 +5552,7 @@ M: Luis R. Rodriguez <mcgrof@kernel.org>
L:	linux-kernel@vger.kernel.org
S:	Maintained
F:	Documentation/firmware_class/
F:	drivers/base/firmware*.c
F:	drivers/base/firmware_loader/
F:	include/linux/firmware.h

FLASH ADAPTER DRIVER (IBM Flash Adapter 900GB Full Height PCI Flash Card)
+2 −5
Original line number Diff line number Diff line
@@ -5,17 +5,14 @@ obj-y := component.o core.o bus.o dd.o syscore.o \
			   driver.o class.o platform.o \
			   cpu.o firmware.o init.o map.o devres.o \
			   attribute_container.o transport_class.o \
			   topology.o container.o property.o cacheinfo.o \
			   firmware_fallback_table.o
			   topology.o container.o property.o cacheinfo.o
obj-$(CONFIG_DEVTMPFS)	+= devtmpfs.o
obj-$(CONFIG_DMA_CMA) += dma-contiguous.o
obj-y			+= power/
obj-$(CONFIG_HAS_DMA)	+= dma-mapping.o
obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o
obj-$(CONFIG_ISA_BUS_API)	+= isa.o
obj-$(CONFIG_FW_LOADER)	+= firmware_class.o
firmware_class-objs := firmware_loader.o
firmware_class-$(CONFIG_FW_LOADER_USER_HELPER) += firmware_fallback.o
obj-y				+= firmware_loader/
obj-$(CONFIG_NUMA)	+= node.o
obj-$(CONFIG_MEMORY_HOTPLUG_SPARSE) += memory.o
ifeq ($(CONFIG_SYSFS),y)
+7 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
# Makefile for the Linux firmware loader

obj-y			:= fallback_table.o
obj-$(CONFIG_FW_LOADER)	+= firmware_class.o
firmware_class-objs := main.o
firmware_class-$(CONFIG_FW_LOADER_USER_HELPER) += fallback.o
+2 −2
Original line number Diff line number Diff line
@@ -8,8 +8,8 @@
#include <linux/highmem.h>
#include <linux/umh.h>

#include "firmware_fallback.h"
#include "firmware_loader.h"
#include "fallback.h"
#include "firmware.h"

/*
 * firmware fallback mechanism
Loading