net: Set mac-address property
Linux normally has no idea how to retrieve MAC Addresses, but instead
expects the MAC address in the devicetree. This patch adds the MAC
address to the devicetree for Linux if we find a valid one in barebox.
This mechanism is limited of course to devices barebox has a driver for
and which are probed themselves from the devicetree.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ebefdd4 commit f696692b8704ccfa3800e57c8b6261ff337b8efd
@Sascha Hauer Sascha Hauer authored on 4 Jun 2013
Showing 2 changed files
View
include/net.h
View
net/eth.c