summaryrefslogtreecommitdiffstats
path: root/drivers/of/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-03-06 08:46:58 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-04-04 23:23:41 +0200
commitf72a4fd3704cf246a1d12cdf500f484be0db05a0 (patch)
treeccf07995dedc450afa6fe54540fa3d097dd85b87 /drivers/of/Makefile
parent0a637bcc3c66c647f52970ddd1dbae2d749dc969 (diff)
downloadbarebox-f72a4fd3704cf246a1d12cdf500f484be0db05a0.tar.gz
barebox-f72a4fd3704cf246a1d12cdf500f484be0db05a0.tar.xz
of/net: Add net related of helpers
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>
Diffstat (limited to 'drivers/of/Makefile')
-rw-r--r--drivers/of/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/Makefile b/drivers/of/Makefile
index 9de1ca778a..d16a94624d 100644
--- a/drivers/of/Makefile
+++ b/drivers/of/Makefile
@@ -1,3 +1,4 @@
obj-y += base.o fdt.o
obj-$(CONFIG_GPIOLIB) += gpio.o
obj-y += partition.o
+obj-y += of_net.o