diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-12 10:00:18 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-15 08:44:41 +0200 |
commit | 423204c619cfe719bc4bd73555ceec388a65e3aa (patch) | |
tree | cf5ff75aa4185a2be891a8ecf5140a027afc8ae2 /include/platform_data | |
parent | a1c43792a53a14732ad903d279a8ae87ef8a7662 (diff) | |
download | barebox-423204c619cfe719bc4bd73555ceec388a65e3aa.tar.gz barebox-423204c619cfe719bc4bd73555ceec388a65e3aa.tar.xz |
include: Move designware eth platform_data to include/platform_data
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/platform_data')
-rw-r--r-- | include/platform_data/eth-designware.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/platform_data/eth-designware.h b/include/platform_data/eth-designware.h new file mode 100644 index 0000000000..7a7a26abfd --- /dev/null +++ b/include/platform_data/eth-designware.h @@ -0,0 +1,13 @@ +#ifndef __DWC_UNIMAC_H +#define __DWC_UNIMAC_H + +#include <linux/phy.h> + +struct dwc_ether_platform_data { + int phy_addr; + phy_interface_t interface; + void (*fix_mac_speed)(int speed); + bool enh_desc; /* use Alternate/Enhanced Descriptor configurations */ +}; + +#endif |