Marek Vasut 8aa57934e5 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>
2025-10-09 13:50:40 -06:00

17 lines
480 B
Plaintext

# SPDX-License-Identifier: GPL-2.0-only
config MTK_NET_PHYLIB
bool
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
help
Supports MediaTek SoC built-in 2.5Gb ethernet PHYs.
This driver requires firmware download for PHY to enable its
functionality. The board can override certian firmware downloading
function to provide the firmware data.