diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-12 09:59:12 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-15 08:44:41 +0200 |
commit | 472e36c752de840404ae43d76e2aef865c5a8a9e (patch) | |
tree | 1697a18ba8edd4f5b63336ab29cb06d89b2e037e /include/platform_data | |
parent | 24a6b3f8eabf08b589a2860aee9b670fa88cd085 (diff) | |
download | barebox-472e36c752de840404ae43d76e2aef865c5a8a9e.tar.gz barebox-472e36c752de840404ae43d76e2aef865c5a8a9e.tar.xz |
include: Move ep93xx 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-ep93xx.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/platform_data/eth-ep93xx.h b/include/platform_data/eth-ep93xx.h new file mode 100644 index 0000000000..0fb11d0acd --- /dev/null +++ b/include/platform_data/eth-ep93xx.h @@ -0,0 +1,26 @@ +/* + * (C) Copyright 2016 Alexander Kurz <akurz@blala.de> + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#ifndef __NET_EP93XX_ETH_H +#define __NET_EP93XX_ETH_H + +#include <linux/phy.h> + +struct ep93xx_eth_platform_data { + phy_interface_t xcv_type; + int phy_addr; +}; + +#endif /* __NET_EP93XX_ETH_H */ |