diff options
author | Heinrich Toews <heinrich.toews@wago.com> | 2018-10-16 10:32:43 +0000 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-12-14 15:29:26 +0100 |
commit | 1e85c6d5d36af236402b0140bd932cb575165ce0 (patch) | |
tree | e6abd4788ca932fb342bf3c39d2e83a58aeff1bf /include | |
parent | f21120883135e1bd2f5e9441f5265857196a81ff (diff) | |
download | barebox-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.h | 10 |
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__ */ |