summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHeinrich Toews <heinrich.toews@wago.com>2018-10-16 10:32:43 +0000
committerSascha Hauer <s.hauer@pengutronix.de>2018-12-14 15:29:26 +0100
commit1e85c6d5d36af236402b0140bd932cb575165ce0 (patch)
treee6abd4788ca932fb342bf3c39d2e83a58aeff1bf /include
parentf21120883135e1bd2f5e9441f5265857196a81ff (diff)
downloadbarebox-1e85c6d5d36af236402b0140bd932cb575165ce0.tar.gz
barebox-1e85c6d5d36af236402b0140bd932cb575165ce0.tar.xz
net: davinci-emac: switch to device tree support
This adds device tree support to the davinci-emac driver. This needs some changes to the driver as the device has four different resources. Three of them are merged into a single resource in the dts files with the node providing offsets for the different resources to base address. The mdio node is found separately in the dts, so we have to split this out to a different driver. Since this driver has been unused previously, we do not bother maintaining two different probe methods and remove platform probe support at the same time. Signed-off-by: Heinrich Toews <heinrich.toews@wago.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/platform_data/eth-davinci-emac.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/platform_data/eth-davinci-emac.h b/include/platform_data/eth-davinci-emac.h
deleted file mode 100644
index caead1fecf..0000000000
--- a/include/platform_data/eth-davinci-emac.h
+++ /dev/null
@@ -1,10 +0,0 @@
-#ifndef __NET_DAVINCI_EMAC_H__
-#define __NET_DAVINCI_EMAC_H__
-
-struct davinci_emac_platform_data {
- int phy_addr;
- bool force_link;
- bool interface_rmii;
-};
-
-#endif /* __NET_DAVINCI_EMAC_H__ */