]> git.baikalelectronics.ru Git - uboot.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)
commitb44d29b91a4d9e060854b31b3090ce14dcc8fe87
tree3947a884630877557dcd9e0abca42a9adee7fc89
parent4abcc36a9540806677ce80275db689dfa7126d42
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