Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | of: of_net: sync of_get_mac_address with Linux for NVMEM support | Ahmad Fatoum | 2021-06-22 | 1 | -1/+20 |
| | | | | | | | | | | | | | | | We don't use of_get_mac_address anywhere, but it can come in handy as a last resort before barebox generates a random MAC address. With the existing implementation, that MAC address is written literally into the DT, so it's mainly useful when barebox is booted with an external device tree. The kernel implementation adds support for parsing the MAC address out of a revered mac-address nvmem cell, which is much more prevalent. Sync the implementation with Linux v5.13 in preparation for using it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210619034516.6737-12-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> | ||||
* | include: add SPDX GPL-2.0-only license tags where applicable | Roland Hieber | 2020-02-17 | 1 | -2/+1 |
| | | | | | | | | Interpret "GPLv2" as "GPLv2 only". Signed-off-by: Roland Hieber <rohieb@rohieb.name> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> | ||||
* | of/net: Add net related of helpers | Sascha Hauer | 2013-04-04 | 1 | -0/+14 |
of_get_phy_mode to parse the phy mode from the devicetree and of_get_mac_address to parse a MAC address from the devicetree. Directly taken from the Kernel. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |