fw_loader: Split from fs_loader into separate library file
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Mon, 22 Sep 2025 11:48:27 +0000 (13:48 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 9 Oct 2025 19:50:40 +0000 (13:50 -0600)
commit8aa57934e52f254064338cfb2a445af9a1f592f9
tree54581ff7e27dc1839b7d2adf7e31f821c79a08b7
parenta1fd7a9589bf150c6f79d3a37fbc426f00a8af94
fw_loader: Split from fs_loader into separate library file

The script based firmware loader does not use anything from the
fs_loader implementation. Separate it into its own library source
file and convert the mediatek PHY to use this separate code. This
should reduce the amount of code that is pulled in alongside the
firmware loader, as the FS loader is no longer included.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/misc/fs_loader.c
drivers/net/phy/mediatek/Kconfig
drivers/net/phy/mediatek/mtk-2p5ge.c
include/fs_loader.h
include/fw_loader.h [new file with mode: 0644]
lib/Kconfig
lib/Makefile
lib/fw_loader.c [new file with mode: 0644]