Hi,
This patch series refactors the Aquantia PHY firmware loader to use the generic fwloader framework. The existing loader is limited to loading firmware from an MMC device, which restricts its use on many devices (e.g., routers) that may use other storage like USB or have a UBIFS root filesystem. Migrating to the generic firmware loader allows firmware to be sourced from any backend supported by the fwloader scripting framework. The series is structured as follows: - The first patch prepares current loading code for fwloader. - The second and main patch replaces the custom loader with generic one. This change has been tested on a Buffalo WXR18000BE10P router, loading firmware from a UBIFS volume for Marvell CUX3410. Changes in v5: - Remove fsloader codepath - Drop binding changes - Make script name static - Minor refactor Changes in v4: - Split firmware upload helpers change - Reorder `aquantia_read_fw` - Make `aquantia_read_fw` weak to allow overide - Rename exit label in `aquantia_read_fw` - Kconfig polish Changes in v3: - Select FW_LOADER with PHY_AQUANTIA_UPLOAD_FW Changes in v2: - Add support for script based loader Beiyan Yun (2): net: phy: aquantia: refactor firmware upload helpers net: phy: aquantia: use generic firmware loader drivers/net/phy/Kconfig | 23 ++++----- drivers/net/phy/aquantia.c | 103 +++++++++++++++++-------------------- 2 files changed, 59 insertions(+), 67 deletions(-) -- 2.47.3 base-commit: 62b45e82bdbf703571450e97f605893fe0d50530 branch: aquantia-fsloader-v5

