]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: fm: Add firmware name parameter
authorSean Anderson <sean.anderson@seco.com>
Thu, 29 Dec 2022 16:53:00 +0000 (11:53 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 12 Jan 2023 19:06:16 +0000 (14:06 -0500)
commite4f0cc5ddf6ad24e06fcd6a25bbaaf3d55fa0899
tree3947a884630877557dcd9e0abca42a9adee7fc89
parent0998a20cfc6b57e271d597153e39439c37034206
net: fm: Add firmware name parameter

In order to read the firmware from the filesystem, we need a file name.
Read the firmware name from the device tree, using the firmware-name
property. This property is commonly used in Linux to determine the
correct name to use (and can be seen in several device trees in U-Boot).

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/fm/fm.c
drivers/net/fm/fm.h