summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-09-18 15:43:26 -0600
committerTom Rini <[email protected]>2025-09-18 15:43:56 -0600
commit44ac43c01b3d9470135d1b293fc5408dc30c8d6e (patch)
tree48c2a1a28cf6e41e978a7218dc03bed93f48fd66 /include
parenta209627ed7921f40669f5c0795570d40e77e4cb7 (diff)
parent32b4c88ff2712ffafec875e22d866537d2f33dac (diff)
Merge patch series "Add support for MediaTek MT7987/MT7988 built-in 2.5Gb ethernet PHY (v4)"
Weijie Gao <[email protected]> says: This patch adds PHY driver for MediaTek MT7987/MT7988 built-in 2.5Gb ethernet PHY. [trini: Change 'tristate' Kconfig to 'bool'] Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include')
-rw-r--r--include/fs_loader.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/fs_loader.h b/include/fs_loader.h
index a433be1eb99..1cf6d6dd05f 100644
--- a/include/fs_loader.h
+++ b/include/fs_loader.h
@@ -71,6 +71,7 @@ int get_fs_loader(struct udevice **dev);
* @buf: Pointer to a pointer where the firmware buffer will be stored.
* @max_size: Maximum allowed size for the firmware to be loaded.
* @script_name: Name of the U-Boot script to execute for firmware loading.
+ * @retsize: Return the actual firmware data size (optional).
*
* Executes a U-Boot script (@script_name) that loads firmware into
* memory and sets the environment variables 'fw_addr' (address) and
@@ -87,5 +88,6 @@ int get_fs_loader(struct udevice **dev);
* Return: 0 on success, negative value on error.
*/
int request_firmware_into_buf_via_script(void **buf, size_t max_size,
- const char *script_name);
+ const char *script_name,
+ size_t *retsize);
#endif