diff options
| author | Marek Vasut <[email protected]> | 2025-09-22 13:48:27 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-10-09 13:50:40 -0600 |
| commit | 8aa57934e52f254064338cfb2a445af9a1f592f9 (patch) | |
| tree | 54581ff7e27dc1839b7d2adf7e31f821c79a08b7 /drivers/net | |
| parent | a1fd7a9589bf150c6f79d3a37fbc426f00a8af94 (diff) | |
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 <[email protected]>
Diffstat (limited to 'drivers/net')
| -rw-r--r-- | drivers/net/phy/mediatek/Kconfig | 2 | ||||
| -rw-r--r-- | drivers/net/phy/mediatek/mtk-2p5ge.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/mediatek/Kconfig b/drivers/net/phy/mediatek/Kconfig index bbda951e7d9..933271f01fa 100644 --- a/drivers/net/phy/mediatek/Kconfig +++ b/drivers/net/phy/mediatek/Kconfig @@ -6,8 +6,8 @@ config MTK_NET_PHYLIB config PHY_MEDIATEK_2P5GE bool "MediaTek built-in 2.5Gb ethernet PHYs" depends on OF_CONTROL && (TARGET_MT7987 || TARGET_MT7988) + select FW_LOADER select MTK_NET_PHYLIB - select FS_LOADER help Supports MediaTek SoC built-in 2.5Gb ethernet PHYs. diff --git a/drivers/net/phy/mediatek/mtk-2p5ge.c b/drivers/net/phy/mediatek/mtk-2p5ge.c index 0e704bdb04d..4090db0b474 100644 --- a/drivers/net/phy/mediatek/mtk-2p5ge.c +++ b/drivers/net/phy/mediatek/mtk-2p5ge.c @@ -10,7 +10,7 @@ #include <dm/of_access.h> #include <dm/pinctrl.h> #include <dm/ofnode.h> -#include <fs_loader.h> +#include <fw_loader.h> #include <linux/bitfield.h> #include <linux/delay.h> #include <linux/iopoll.h> |
